diff options
Diffstat (limited to 'chapter02/aboutlfs.xml')
-rw-r--r-- | chapter02/aboutlfs.xml | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/chapter02/aboutlfs.xml b/chapter02/aboutlfs.xml deleted file mode 100644 index 4141a01c0..000000000 --- a/chapter02/aboutlfs.xml +++ /dev/null @@ -1,32 +0,0 @@ -<sect1 id="prepare-aboutlfs"> -<title>About $LFS</title> -<?dbhtml filename="aboutlfs.html" dir="chapter02"?> - -<para>Please read the following paragraphs carefully. Throughout this book the -variable LFS will be used frequently. $LFS must at all times be replaced with -the directory where the partition that contains the LFS system is mounted. How -to create and where to mount the partition will be explained in full detail in -<xref linkend="chapter-making-space"/>. For the moment let's assume that the LFS partition -is mounted on <filename>/mnt/lfs</filename>.</para> - -<para>When you are told to run a command like -<userinput>./configure --prefix=$LFS/tools</userinput>, you actually have to -execute <userinput>./configure --prefix=/mnt/lfs/tools</userinput>.</para> - -<para>It's important that this is done no matter where it is read; be it in -commands entered in a shell, or in a file edited or created.</para> - -<para>A possible solution is to set the environment variable LFS. -This way $LFS can be entered literally instead of replacing it with -/mnt/lfs. This is accomplished by running: </para> - -<screen><userinput>export LFS=/mnt/lfs</userinput></screen> - -<para>Now, if you are told to run a command such as -<userinput>./configure --prefix=$LFS/tools</userinput>, then you may type it -literally. Your shell will replace "$LFS" with "/mnt/lfs" when it processes -the command line (that is, when you hit Enter after having typed the -command).</para> - -</sect1> - |