Move readlink to /bin so that Udev rules can use it before /usr is mounted. Fixes #1913.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7919 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2007-02-09 21:03:49 +00:00
parent 2c69ed4864
commit 5735d994ec
2 changed files with 8 additions and 1 deletions

View File

@ -39,6 +39,13 @@
<listitem>
<para>2007-02-09</para>
<itemizedlist>
<listitem>
<para>[matthew] - Move <command>readlink</command> to
<filename class="directory">/bin</filename> because
<function>sysreadlink</function> in Udev's shell functions may call
it before <filename class="directory">/usr</filename> has been
mounted. Fixes <ulink url="&lfs-ticket-root;1913">#1913</ulink></para>
</listitem>
<listitem>
<para>[matthew] - Remove some <command>chmod</command> and
<command>chown</command> commands from DB, NCurses and Readline as

View File

@ -105,7 +105,7 @@ echo "dummy:x:1000:1000::/root:/bin/bash" &gt;&gt; /etc/passwd</userinput></scre
<para>Move programs to the locations specified by the FHS:</para>
<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/{false,hostname,ln,ls,mkdir,mknod,mv,pwd,readlink,rm} /bin
mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin
mv -v /usr/bin/chroot /usr/sbin</userinput></screen>