git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@472 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2001-04-12 23:25:34 +00:00
parent a097364802
commit 280bcc86e7
4 changed files with 9 additions and 9 deletions

View File

@ -3,10 +3,10 @@
<para> <para>
We are going to build the LFS system by using an already installed Linux We are going to build the LFS system by using an already installed Linux
distribution such as Debian, SuSE, Slackware, Mandrake, RedHat, etc. There distribution such as Debian, SuSe, Slackware, Mandrake, RedHat, etc. There
is no need to have any kind of bootdisk. We will use an existing Linux is no need to have any kind of bootdisk. We will use an existing Linux
system as the base (since we need a compiler, linker, text editor, and system as the base (since we need a compiler, linker, text editor, and
others tools). other tools).
</para> </para>
<para> <para>

View File

@ -6,15 +6,15 @@ Having used a number of different Linux distributions, I was never fully
satisfied with any of those. I didn't like the way the bootscripts were satisfied with any of those. I didn't like the way the bootscripts were
arranged, I didn't like the way certain programs were configured by arranged, I didn't like the way certain programs were configured by
default, and more of those things. I came to realize that if I wanted to default, and more of those things. I came to realize that if I wanted to
be fully satisfied with a Linux system, I would have to build my own Linux be fully satisfied with a Linux system, I would have to build my own system
system from scratch, ideally using only the source code. Not using from scratch, ideally using only the source code. Not using
pre-compiled packages of any kind. No help from some sort of CD-ROM or pre-compiled packages of any kind. No help from some sort of CD-ROM or
bootdisk that would install some basic utilities. I would use my current bootdisk that would install some basic utilities. I would use my current
Linux system and use that one to build my own. Linux system and use that one to build my own.
</para> </para>
<para> <para>
This, at one time, wild idea seemed very difficult and, at times, almost This, at one time, wild idea seemed very difficult and at times almost
impossible. After sorting out all kinds of dependency problems, compile impossible. After sorting out all kinds of dependency problems, compile
problems, etcetera, a custom-built Linux system was created and fully problems, etcetera, a custom-built Linux system was created and fully
operational. I called this system an LFS system, which stands for Linux operational. I called this system an LFS system, which stands for Linux

View File

@ -29,7 +29,7 @@ LFS=/mnt/lfs</userinput>.
</para> </para>
<para> <para>
Now, if you read to run a command like <userinput>./configure Now, if you are told to run a command like <userinput>./configure
--prefix=$LFS</userinput> you can type that literally. Your shell will --prefix=$LFS</userinput> you can type that literally. Your shell will
replace $LFS with /mnt/lfs when it processes the command line (meaning replace $LFS with /mnt/lfs when it processes the command line (meaning
when you hit enter after having typed the command). when you hit enter after having typed the command).
@ -37,7 +37,7 @@ when you hit enter after having typed the command).
<para> <para>
If you plan to use $LFS, do not forget to set the $LFS variable at all If you plan to use $LFS, do not forget to set the $LFS variable at all
times. If the variable is not set and is used it in a command, $LFS will times. If the variable is not set and is used in a command, $LFS will
be ignored and whatever is left will be executed. A command like be ignored and whatever is left will be executed. A command like
<userinput>echo "root:x:0:0:root:/root:/bin/bash" &gt; <userinput>echo "root:x:0:0:root:/root:/bin/bash" &gt;
$LFS/etc/passwd</userinput> without the $LFS variable set will $LFS/etc/passwd</userinput> without the $LFS variable set will

View File

@ -17,8 +17,8 @@ To decide whether to read this book or the P2B HOWTO, ask yourself this
question: "Is my main objective to get a working Linux system that I'm question: "Is my main objective to get a working Linux system that I'm
going to build myself and, along the way, learn what every component of going to build myself and, along the way, learn what every component of
a system is for, or is just the learning part my main objective?" If a system is for, or is just the learning part my main objective?" If
you want to build and learn, read this book. If you just want to learn, you want to build and learn, read this book. If you just want to learn
then the P2B HOWTO is probably better material to read. the basics, then the P2B HOWTO is probably better material to read.
</para> </para>
<para> <para>