From 4322222ddb1eb759de62039b22e4f2d16baf45e3 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 14 Oct 2012 06:18:31 +0000 Subject: [PATCH] Remove utmpdump from sysvinit because it is now installed by util-linux. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10020 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 6 ++++++ chapter06/sysvinit.xml | 22 +++++----------------- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index ab03a749f..c287c346d 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,12 @@ 2012-09-27 + + [bdubbs] - Remove utmpdump from sysvinit + because it is now installed by util-linux. Thanks to + Chris Staub for the patch. Fixes + #3202. + [bdubbs] - Change procps to not install the kill program that is now installed by util-linux. Fixes diff --git a/chapter06/sysvinit.xml b/chapter06/sysvinit.xml index 2acf8972d..b1b85c6b9 100644 --- a/chapter06/sysvinit.xml +++ b/chapter06/sysvinit.xml @@ -54,14 +54,13 @@ sed -i 's@Sending processes@& configured via /etc/inittab@g' src/init.c - Maintained versions of the wall and - mountpoint programs were + Maintained versions of the wall, + mountpoint, and utmpdump programs were installed earlier by Util-linux. Suppress the installation of Sysvinit's versions of these programs and their man pages: -sed -i -e 's/utmpdump wall/utmpdump/' \ - -e '/= mountpoint/d' \ - -e 's/mountpoint.1 wall.1//' src/Makefile +sed -i -e '/utmpdump/d' \ + -e '/mountpoint/d' src/Makefile Compile the package: @@ -85,7 +84,7 @@ bootlogd, fstab-decode, halt, init, killall5, last, lastb (link to last), mesg, pidof (link to killall5), poweroff (link to halt), reboot (link to halt), runlevel, shutdown, - sulogin, telinit (link to init), and utmpdump + sulogin, and telinit (link to init) @@ -262,17 +261,6 @@ - - utmpdump - - Displays the content of the given login file in a more - user-friendly format - - utmpdump - - - -