From 2b07134fa88b96c50c23d5cd4d375634021584e5 Mon Sep 17 00:00:00 2001 From: Greg Schafer Date: Fri, 14 Nov 2003 22:54:43 +0000 Subject: Pruned the number of "kill" binaries installed. Use the one from Procps. Partially addresses Bug 307. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3089 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/coreutils.xml | 6 ++++++ chapter06/utillinux.xml | 14 +++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) (limited to 'chapter06') diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index 7eeaa69a3..cd88b89ea 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -79,6 +79,12 @@ mv /usr/bin/{rm,rmdir,shred,sync,sleep,stty,su,test} /bin mv /usr/bin/{touch,true,uname,vdir} /bin mv /usr/bin/chroot /usr/sbin +We'll be using the kill program from the Procps +package (installed as /bin/kill later in the chapter). +Remove the one installed by Coreutils: + +rm /usr/bin/kill + Finally, create a few necessary symlinks: ln -s test /bin/[ diff --git a/chapter06/utillinux.xml b/chapter06/utillinux.xml index 487736df2..8689c09a6 100644 --- a/chapter06/utillinux.xml +++ b/chapter06/utillinux.xml @@ -34,20 +34,24 @@ mkdir -p /var/lib/hwclock Compile the package: -make HAVE_SLN=yes +make HAVE_KILL=yes HAVE_SLN=yes -The meaning of the make parameter: +The meaning of the make parameters: +HAVE_KILL=yes: This prevents the +kill program (already installed by Procps) from being +built and installed again. + HAVE_SLN=yes: This prevents the sln program (a statically linked -ln, already installed by Glibc) from being built -again. +ln, already installed by Glibc) from being built and +installed again. And install the package: -make HAVE_SLN=yes install +make HAVE_KILL=yes HAVE_SLN=yes install -- cgit v1.2.3-54-g00ecf