Applied Zack's Creating Files patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2623 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2003-05-21 18:44:32 +00:00
parent 1179ee92d2
commit 9503a7da97
2 changed files with 10 additions and 21 deletions

View File

@ -78,6 +78,10 @@
</itemizedlist> </itemizedlist>
</para></listitem> </para></listitem>
<listitem><para>May 15th, 2003 [winkie]: Chapter 06 - Creating Files: All
those <userinput>ln</userinput> commands can be made into a few long ln
commands.</para></listitem>
<listitem><para>May 15th, 2003 [winkie]: Chapter 05 - Installing <listitem><para>May 15th, 2003 [winkie]: Chapter 05 - Installing
Glibc: Create an ld.so.conf file before building Glibc, to prevent an Glibc: Create an ld.so.conf file before building Glibc, to prevent an
(harmless) error.</para></listitem> (harmless) error.</para></listitem>

View File

@ -7,27 +7,12 @@ order to satisfy these programs, we create a number of symbolic links which
will be replaced by real files throughout the course of this chapter when will be replaced by real files throughout the course of this chapter when
we're installing all the software.</para> we're installing all the software.</para>
<para><screen><userinput>ln -sf /stage1/bin/bash /bin <para><screen><userinput>ln -s /stage1/bin/{bash,pwd,cat,stty,echo,sed} /bin
ln -sf bash /bin/sh ln -s /stage1/bin/{rm,mv,chmod,chgrp} /bin
ln -sf /stage1/bin/pwd /bin ln -s /stage1/bin/{perl,msgfmt,xgettext,msgmerge,install} /usr/bin
ln -sf /stage1/bin/perl /usr/bin ln -s /stage1/bin/{sort,gawk,cmp} /usr/bin
ln -sf /stage1/bin/cat /bin ln -s bash /bin/sh
ln -sf /stage1/bin/stty /bin ln -s ../usr/bin/install /bin</userinput></screen></para>
ln -sf /stage1/bin/msgfmt /usr/bin
ln -sf /stage1/bin/xgettext /usr/bin
ln -sf /stage1/bin/msgmerge /usr/bin
ln -sf /stage1/bin/install /usr/bin
ln -sf /usr/bin/install /bin
ln -sf /stage1/bin/echo /bin
ln -sf /stage1/bin/sed /bin
ln -sf /stage1/bin/awk /bin
ln -sf /stage1/bin/rm /bin
ln -sf /stage1/bin/mv /bin
ln -sf /stage1/bin/chmod /bin
ln -sf /stage1/bin/chgrp /bin
ln -sf /stage1/bin/sort /usr/bin
ln -sf /stage1/bin/cmp /usr/bin</userinput></screen></para>
</sect1> </sect1>