mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Update
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@472 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a097364802
commit
280bcc86e7
@ -3,10 +3,10 @@
|
||||
|
||||
<para>
|
||||
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
|
||||
system as the base (since we need a compiler, linker, text editor, and
|
||||
others tools).
|
||||
other tools).
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@ -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
|
||||
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
|
||||
be fully satisfied with a Linux system, I would have to build my own Linux
|
||||
system from scratch, ideally using only the source code. Not using
|
||||
be fully satisfied with a Linux system, I would have to build my own system
|
||||
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
|
||||
bootdisk that would install some basic utilities. I would use my current
|
||||
Linux system and use that one to build my own.
|
||||
</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
|
||||
problems, etcetera, a custom-built Linux system was created and fully
|
||||
operational. I called this system an LFS system, which stands for Linux
|
||||
|
@ -29,7 +29,7 @@ LFS=/mnt/lfs</userinput>.
|
||||
</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
|
||||
replace $LFS with /mnt/lfs when it processes the command line (meaning
|
||||
when you hit enter after having typed the command).
|
||||
@ -37,7 +37,7 @@ when you hit enter after having typed the command).
|
||||
|
||||
<para>
|
||||
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
|
||||
<userinput>echo "root:x:0:0:root:/root:/bin/bash" >
|
||||
$LFS/etc/passwd</userinput> without the $LFS variable set will
|
||||
|
@ -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
|
||||
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
|
||||
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.
|
||||
you want to build and learn, read this book. If you just want to learn
|
||||
the basics, then the P2B HOWTO is probably better material to read.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user