1. Download all packet and patchs Done
2. To be involved in the mail list
3. Check Host Requirements Done
还学习了 cut 显示某行的指定field ,head 显示前几行,readlink 显示软连接的target文件
ls /dev &>/dev/null 尽然可以把标准输出和标准错误都定向到/dev/null 我汗
4. Introduction Done
5. Prepare a new partition
and mount it Done
6. Get packets and patchs Done
Put it in a sticky directory.
Make this directory writable and sticky. “Sticky” means that even if multiple users have write permission on a
directory, only the owner of a file can delete the file within a sticky directory.
7. Final Preparation Done
stop at 4.5 about SBUs
8. Constructing a temporary system
There are two steps in building this minimal system.
The first step is to build a new and host-independent toolchain (compiler, assembler, linker, libraries, and a few useful utilities).
The second step uses this toolchain to build the other essential tools.
5.2. Toolchain Technical Notes
5.5 GCC pass 1 Done
5.6 Linux Header Done
5.7 Glibc Done
5.8 Adjust Tool chain
到这里,cross-compile的tool chain 已经基本好了。接下来就要用这个工具来编译。
经验证,到此编译过程没有问题。
5。9 binutils pass 2 Done
5.10 GCC pass 2 Done
5.11 Tcl Done
5.12 Expect-5.43.0 Done
5.32. Changing Ownership
这之后,就要用root用户来编了。
Part II Building the LFS System
chapter 6
The key to learning what makes a Linux system work is to know what each package is used
for and why you (or the system) may need it.
6.2 prepare virtual kernel file system
such as /dev, /sys, /proc
and devices /dev/console /dev/null
6.3.2 Package Management Techniques
讲了一些,linux软件安装的技巧
6.7 Linux-2.6.32.8 API Headers
6.9 Glibc Done
6.17. Sed-4.2.1