Преглед изворни кода

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
Greg Schafer пре 22 година
родитељ
комит
2b07134fa8
3 измењених фајлова са 19 додато и 5 уклоњено
  1. 4 0
      chapter01/changelog.xml
  2. 6 0
      chapter06/coreutils.xml
  3. 9 5
      chapter06/utillinux.xml

+ 4 - 0
chapter01/changelog.xml

@@ -34,6 +34,10 @@
 </itemizedlist>
 </listitem>
 
+<listitem><para>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.</para></listitem>
+
 <listitem><para>November 13th, 2003 [greg]: Chapter 6 - Ed: Streamlined build
 commands. Closes Bug 693.</para></listitem>
 

+ 6 - 0
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/[

+ 9 - 5
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>