aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/createfiles.xml
blob: 4a71803b5bdbd2c20182a1029e901fe370b1ef0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<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 /stage1/bin/{bash,pwd,cat,stty,echo,sed} /bin
ln -s /stage1/bin/{rm,mv,chmod,chgrp} /bin
ln -s /stage1/bin/{perl,msgfmt,xgettext,msgmerge,install} /usr/bin
ln -s /stage1/bin/{sort,gawk,cmp} /usr/bin
ln -s bash /bin/sh
ln -s ../usr/bin/install /bin</userinput></screen></para>

</sect1>