mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 11:21:59 +00:00
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
This commit is contained in:
parent
8ffb41edae
commit
2b07134fa8
@ -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>
|
||||
|
||||
|
@ -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/[
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user