From eb797aae86981e4cb0dd0f235cc7230cd85830c2 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 4 Sep 2011 15:37:25 +0000 Subject: Supress sysvinit overwriting mountpoint from util-linux git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9594 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/sysvinit.xml | 18 +++++------------- chapter06/util-linux.xml | 12 +++++++++++- 2 files changed, 16 insertions(+), 14 deletions(-) (limited to 'chapter06') diff --git a/chapter06/sysvinit.xml b/chapter06/sysvinit.xml index 2fac8e4ff..09ef2c7be 100644 --- a/chapter06/sysvinit.xml +++ b/chapter06/sysvinit.xml @@ -55,12 +55,14 @@ sed -i 's@Sending processes@& configured via /etc/inittab@g' \ src/init.c - A maintained version of the wall program was + Maintained versions of the wall and + mountpoint programs were installed earlier by Util-linux. Suppress the installation of Sysvinit's - version of this program and its man page: + versions of these programs and their man pages: sed -i -e 's/utmpdump wall/utmpdump/' \ - -e 's/mountpoint.1 wall.1/mountpoint.1/' src/Makefile + -e '/= mountpoint/d' \ + -e 's/mountpoint.1 wall.1//' src/Makefile Compile the package: @@ -186,16 +188,6 @@ - - mountpoint - - Checks if the directory is a mountpoint - - mountpoint - - - - pidof diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index 43c8b47ae..8a85a3bba 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -113,7 +113,7 @@ mkdir -pv /var/lib/hwclock fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock, i386, ionice, ipcmk, ipcrm, ipcs, isosize, ldattach, line, linux32, linux64, logger, look, losetup, lsblk, lscpu, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, - mkfs.minix, mkswap, more, mount, namei, partx, pg, pivot_root, + mkfs.minix, mkswap, more, mount, mountpoint, namei, partx, pg, pivot_root, readprofile, rename, renice, rev, rtcwake, script, scriptreplay, setarch, setsid, setterm, sfdisk, swaplabel, swapoff (link to swapon), swapon, switch_root, tailf, taskset, tunelp, ul, umount, unshare, @@ -699,6 +699,16 @@ mkdir -pv /var/lib/hwclock + + mountpoint + + Checks if the directory is a mountpoint + + mountpoint + + + + namei -- cgit v1.2.3-54-g00ecf