mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-22 06:58:54 +00:00
0bf1ea9287
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2811 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
20 lines
750 B
XML
20 lines
750 B
XML
<sect1 id="ch06-createfiles">
|
|
<title>Creating essential symlinks</title>
|
|
<?dbhtml filename="createfiles.html" dir="chapter06"?>
|
|
|
|
<para>Some programs hard-wire paths to programs which don't exist yet. In
|
|
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
|
|
we're installing all the software.</para>
|
|
|
|
<para><screen><userinput>ln -s /tools/bin/{bash,pwd,cat,stty,echo,sed} /bin
|
|
ln -s /tools/bin/{rm,mv,chmod,chgrp} /bin
|
|
ln -s /tools/bin/{perl,msgfmt,xgettext,msgmerge,install} /usr/bin
|
|
ln -s /tools/bin/{sort,gawk,cmp} /usr/bin
|
|
ln -s /tools/lib/libgcc_s.so.1 /usr/lib
|
|
ln -s bash /bin/sh
|
|
ln -s ../usr/bin/install /bin</userinput></screen></para>
|
|
|
|
</sect1>
|
|
|