diff options
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r-- | chapter06/coreutils.xml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index cf6f5a982..28c55e376 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -80,17 +80,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 -v /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp,dd,df} /bin -mv -v /usr/bin/{date,echo,false,head,hostname,install,ln} /bin -mv -v /usr/bin/{ls,mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin -mv -v /usr/bin/{sleep,stty,test,touch,true,uname} /bin +<screen><userinput>mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin +mv -v /usr/bin/{false,hostname,ln,ls,mkdir,mknod,mv,pwd,rm} /bin +mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin mv -v /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 -sv ../../bin/install /usr/bin</userinput></screen> +<screen><userinput>mv -v /usr/bin/{head,sleep} /bin</userinput></screen> </sect2> |