aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/coreutils.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2005-08-21 12:30:53 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2005-08-21 12:30:53 +0000
commitb2c8a77a2db7996ad22182fb39b734098f62cb17 (patch)
treefa7f66a31835590a7e1f79df313498ef5694c1cd /chapter06/coreutils.xml
parent6c511d85f80eb55024dcd42cdeb4577a932609af (diff)
Don't move so many coreutils binaries to /bin
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6736 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r--chapter06/coreutils.xml16
1 files changed, 9 insertions, 7 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 65ff3f23b..704388d9d 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -82,17 +82,19 @@ groups:</para>
<screen><userinput>make install</userinput></screen>
-<para>Move programs to the proper locations:</para>
+<para>Move programs to the locations specified by the FHS:</para>
-<screen><userinput>mv /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
-mv /usr/bin/{date,echo,false,head,hostname,install,ln} /bin
-mv /usr/bin/{ls,mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin
-mv /usr/bin/{sleep,stty,test,touch,true,uname} /bin
+<screen><userinput>mv /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin
+mv /usr/bin/{false,hostname,ln,ls,mkdir,mknod,mv,pwd,rm} /bin
+mv /usr/bin/{rmdir,stty,sync,true,uname} /bin
mv /usr/bin/chroot /usr/sbin</userinput></screen>
-<para>Finally, create a symlink to be FHS-compliant:</para>
+<para>Some of the scripts in the LFS-Bootscripts package depend on
+<command>head</command> and <command>sleep</command>. As
+<filename class="directory">/usr</filename> may not be available during the
+early stages of booting, those binaries need to be on the root partition:</para>
-<screen><userinput>ln -s ../../bin/install /usr/bin</userinput></screen>
+<screen><userinput>mv /usr/bin/{head,sleep} /bin</userinput></screen>
</sect2>