I am going to work with LFS now.
Time begin:
first: The target
Packages supplied to satisfy the LSB requirements:
LSB Core: | Bash, Bc, Binutils, Coreutils, Diffutils, File, Findutils, Gawk, Grep, Gzip, M4, Man-DB, Ncurses, Procps, Psmisc, Sed, Shadow, Tar, Util-linux, Zlib |
LSB C++: | Gcc |
LSB Desktop: | None |
LSB Runtime Languages: | Perl |
LSB Printing: | None |
LSB Multimeda: | None |
second: How To for newbie
1.Download software package,unpacking the FIles,read the README and/or INSTALL.
".tar.gz" or ".tgz" (known as a "tarball") | "bz2:" | patch utility |
gzip -cd filename | tar xvf - gunzip -c filename | tar xvf - | bzip2 -cd filename | tar xvf - OR tar xyvf filename | patch < patchfile |
2.configure and make install.
makefile | Imake | INSTALL/configure |
make make install make -n make clean | xmkmf -a | ./configure |
|
3.Process of build LFS system
first : Binutils and GCC will be built.
second : toolchain will be built.
third : the full LFS system is built.
fourth : the LFS-Bootscripts are set up.
fifth : the kernel and the boot loader are set up.
4.Preparing for the Build
Partition :
boot / 100M
root / 10G
swap / 2G
opt / 5-10G
useful website:
http://www.linuxfromscratch.org/faq/
http://catb.org/~esr/faqs/smart-questions.html