diff options
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> |