blob: 1be2246a80235650c2cd346f282780bbd38ff779 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<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 -sf /stage1/bin/bash /bin
ln -sf bash /bin/sh
ln -sf /stage1/bin/pwd /bin
ln -sf /stage1/bin/perl /usr/bin
ln -sf /stage1/bin/cat /bin
ln -sf /stage1/bin/stty /bin
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>
|