2002-05-25 01:21:12 +01:00
|
|
|
<sect1 id="ch06-createfiles">
|
2003-05-02 19:20:20 +01:00
|
|
|
<title>Creating essential symlinks</title>
|
2002-05-25 01:21:12 +01:00
|
|
|
<?dbhtml filename="createfiles.html" dir="chapter06"?>
|
|
|
|
|
2002-09-02 16:46:18 +01:00
|
|
|
<para>Some programs hard-wire paths to programs which don't exist yet. In
|
2003-05-02 19:20:20 +01:00
|
|
|
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>
|
2002-05-25 01:21:12 +01:00
|
|
|
|
2003-09-02 23:03:51 +01:00
|
|
|
<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
|
2003-09-14 07:38:24 +01:00
|
|
|
ln -s /tools/lib/libgcc_s.so.1 /usr/lib
|
2003-05-21 19:44:32 +01:00
|
|
|
ln -s bash /bin/sh
|
|
|
|
ln -s ../usr/bin/install /bin</userinput></screen></para>
|
2002-05-25 01:21:12 +01:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|