diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 318104d3c..0f5228c85 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -34,6 +34,10 @@ +November 14th, 2003 [greg]: Chapter 6 - Coreutils and +Util-linux: Pruned the number of "kill" binaries installed. Use the one from +Procps. Partially addresses Bug 307. + November 13th, 2003 [greg]: Chapter 6 - Ed: Streamlined build commands. Closes Bug 693. 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