aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/createfiles.xml
blob: 831df0df37e5f5ce5a66d58fc250e8082972b49c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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>