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 /chapter05/creatingstage1dir.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 'chapter05/creatingstage1dir.xml')
-rw-r--r-- | chapter05/creatingstage1dir.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/chapter05/creatingstage1dir.xml b/chapter05/creatingstage1dir.xml new file mode 100644 index 000000000..0a34be4eb --- /dev/null +++ b/chapter05/creatingstage1dir.xml @@ -0,0 +1,25 @@ +<sect1 id="ch05-creatingstage1dir"> +<title>Creating the $LFS/stage1 directory</title> +<?dbhtml filename="creatingstage1dir.html" dir="chapter05"?> + +<para>All programs compiled in this chapter will be installed under <filename +class="directory">$LFS/stage1</filename> to keep them separate from the +programs compiled in the next chapter. The programs compiled here are only +temporary tools and won't be a part of the final LFS system and by keeping them +in a separate directory, we can later easily throw them away. Create the +required directory by running the following:</para> + +<para><screen><userinput>mkdir $LFS/stage1</userinput></screen></para> + +<para>The next step is to create a "/stage1" symlink on the host system. It +will point to the directory we just created on the LFS partition:</para> + +<para><screen><userinput>ln -s $LFS/stage1 /</userinput></screen></para> + +<para>This ensures our toolchain will look in the same place (i.e. /stage1) +in both Chapters 5 and 6 (when we are inside the chroot). This is an +important concept to grasp. Don't worry if it's not clear right now, all +will make sense once we get into Chapter 6.</para> + +</sect1> + |