diff options
author | Greg Schafer <greg@linuxfromscratch.org> | 2003-11-14 22:54:43 +0000 |
---|---|---|
committer | Greg Schafer <greg@linuxfromscratch.org> | 2003-11-14 22:54:43 +0000 |
commit | 2b07134fa88b96c50c23d5cd4d375634021584e5 (patch) | |
tree | 6eb454ed8b373caa223ab7bb5d3e63a5c9574b79 /chapter06 | |
parent | 8ffb41edae3b085f5199e7d68ddfa10caeb6e71b (diff) |
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
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/coreutils.xml | 6 | ||||
-rw-r--r-- | chapter06/utillinux.xml | 14 |
2 files changed, 15 insertions, 5 deletions
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</userinput></screen> +<para>We'll be using the <filename>kill</filename> program from the Procps +package (installed as <filename>/bin/kill</filename> later in the chapter). +Remove the one installed by Coreutils:</para> + +<screen><userinput>rm /usr/bin/kill</userinput></screen> + <para>Finally, create a few necessary symlinks:</para> <screen><userinput>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</userinput></screen> <para>Compile the package:</para> -<screen><userinput>make HAVE_SLN=yes</userinput></screen> +<screen><userinput>make HAVE_KILL=yes HAVE_SLN=yes</userinput></screen> -<para>The meaning of the make parameter:</para> +<para>The meaning of the make parameters:</para> <itemizedlist> +<listitem><para><userinput>HAVE_KILL=yes</userinput>: This prevents the +<userinput>kill</userinput> program (already installed by Procps) from being +built and installed again.</para></listitem> + <listitem><para><userinput>HAVE_SLN=yes</userinput>: This prevents the <userinput>sln</userinput> program (a statically linked -<userinput>ln</userinput>, already installed by Glibc) from being built -again.</para></listitem> +<userinput>ln</userinput>, already installed by Glibc) from being built and +installed again.</para></listitem> </itemizedlist> <para>And install the package:</para> -<screen><userinput>make HAVE_SLN=yes install</userinput></screen> +<screen><userinput>make HAVE_KILL=yes HAVE_SLN=yes install</userinput></screen> </sect2> |