diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
commit | 673b0d84ba9591e07c0bdf0ee49d92eba10f502c (patch) | |
tree | 129e27a1450727b440da4378e0117a468eb9c25e /chapter04/aboutlfs.xml | |
parent | 287ea55da70ceb1f0990554b7db921d525fef816 (diff) |
* Merged newxml into HEAD
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter04/aboutlfs.xml')
-rw-r--r-- | chapter04/aboutlfs.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/chapter04/aboutlfs.xml b/chapter04/aboutlfs.xml new file mode 100644 index 000000000..fa39b8873 --- /dev/null +++ b/chapter04/aboutlfs.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> +<sect1 id="prepare-aboutlfs"> +<title>About $LFS</title> +<?dbhtml filename="aboutlfs.html"?> + +<para>Throughout this book the environment variable LFS will be used several +times. It is paramount that this variable is always defined. It should be set +to the mount point you chose for your LFS partition. Check that your LFS +variable is set up properly with:</para> + +<screen><userinput>echo $LFS</userinput></screen> + +<para>Make sure the output shows the path to your LFS partition's mount +point, which is <filename class="directory">/mnt/lfs</filename> if you +followed our example. If the output is wrong, you can always set the variable +with:</para> + +<screen><userinput>export LFS=/mnt/lfs</userinput></screen> + +<para>Having this variable set means that if you are told to run a command like +<userinput>mkdir $LFS/tools</userinput>, you can type it literally. Your shell +will replace "$LFS" with "/mnt/lfs" (or whatever you set the variable to) when +it processes the command line.</para> + +<para>Don't forget to check that <quote>$LFS</quote> is set whenever you leave and +reenter the environment (as when doing an <quote>su</quote> to root or another user). +</para> + +</sect1> |