123456789101112131415161718192021222324252627282930313233 |
- <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>
|