[email protected] wrote:
Author: krejzi
Date: Sun Jun 29 09:12:14 2014
New Revision: 10603

Log:
test and [ are not specified by FHS to be in /bin.

Modified:
    trunk/BOOK/chapter06/coreutils.xml

Modified: trunk/BOOK/chapter06/coreutils.xml
==============================================================================
--- trunk/BOOK/chapter06/coreutils.xml  Sun Jun 29 09:00:44 2014        (r10602)
+++ trunk/BOOK/chapter06/coreutils.xml  Sun Jun 29 09:12:14 2014        (r10603)
@@ -119,7 +119,7 @@

  <screen><userinput remap="install">mv -v 
/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin
  mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} /bin
-mv -v /usr/bin/{rmdir,stty,sync,true,uname,test,[} /bin
+mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin
  mv -v /usr/bin/chroot /usr/sbin
  mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8
  sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8</userinput></screen>
@@ -130,7 +130,7 @@
      may not be available during the early stages of booting, those binaries
      need to be on the root partition:</para>

-<screen><userinput remap="install">mv -v /usr/bin/{head,sleep,nice} 
/bin</userinput></screen>
+<screen><userinput remap="install">mv -v /usr/bin/{head,sleep,nice,test,[} 
/bin</userinput></screen>

    </sect2>

I am going to revert this. The init scripts do not assume bash. test and [ are used in the init scripts and we still support split /usr.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to