|
@@ -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>
|
|
|
|