diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-02 18:20:20 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-02 18:20:20 +0000 |
commit | bc82645e958948a6aefd3147a0d7f712de9eaf6b (patch) | |
tree | 4855b70f785c1e6bf04856e97824988120503b05 /chapter06/createfiles.xml | |
parent | 55b50e3f6653cef278bad7e45fe5a378966953a7 (diff) |
Integrated Pure LFS - Phase 1
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2490 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/createfiles.xml')
-rw-r--r-- | chapter06/createfiles.xml | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index 47ccefb90..1be2246a8 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -1,17 +1,33 @@ <sect1 id="ch06-createfiles"> -<title>Creating the bash and sh symlinks</title> +<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 the symbolic links -<filename>/bin/bash</filename> and <filename>/bin/sh</filename>, both -pointing to the static <filename>bash</filename> program.</para> +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>Create the <filename>/bin/bash</filename> and <filename>/bin/sh</filename> -symlinks by running the following commands:</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> -<para><screen><userinput>ln -s /static/bin/bash /bin/bash && -ln -s bash /bin/sh</userinput></screen></para> </sect1> |