Linux From Scratch

Allikas: Kuutõrvaja
Redaktsioon seisuga 25. mai 2011, kell 12:43 kasutajalt Jj (arutelu | kaastöö)

Linux From Scratch Version 6.8 Loodud Gerard Beekmans poolt

Edited by Matthew Burgess and Bruce Dubbs

Copyright © 1999-2011 Gerard Beekmans

Sisukord

Eessõna

I. Sissejuhatus

1. Sissejuhatus

II. Preparing for the Build

2. Preparing a New Partition

  • Sissejuhatus
  • Uue partitsiooni loomine
  • Failisüsteemi partitsioonile loomine
  • Uue partitsiooni külgehaakimine

3. Packages and Patches

  • Introduction
  • All Packages
  • Needed Patches

4. Final Preparations

  • About $LFS
  • Creating the $LFS/tools Directory
  • Adding the LFS User
  • Setting Up the Environment
  • About SBUs
  • About the Test Suites

5. Constructing a Temporary System

  • Introduction
  • Toolchain Technical Notes
  • General Compilation Instructions
  • Binutils-2.21 - Pass 1
  • GCC-4.5.2 - Pass 1
  • Linux-2.6.37 API Headers
  • Glibc-2.13
  • Adjusting the Toolchain
  • Binutils-2.21 - Pass 2
  • GCC-4.5.2 - Pass 2
  • Tcl-8.5.9
  • Expect-5.45
  • DejaGNU-1.4.4
  • Ncurses-5.7
  • Bash-4.2
  • Bzip2-1.0.6
  • Coreutils-8.10
  • Diffutils-3.0
  • File-5.05
  • Findutils-4.4.2
  • Gawk-3.1.8
  • Gettext-0.18.1.1
  • Grep-2.7
  • Gzip-1.4
  • M4-1.4.15
  • Make-3.82
  • Patch-2.6.1
  • Perl-5.12.3
  • Sed-4.2.1
  • Tar-1.25
  • Texinfo-4.13a
  • Xz-5.0.1
  • Stripping
  • Changing Ownership

III. Building the LFS System

6. Installing Basic System Software

  • Introduction
  • Preparing Virtual Kernel File Systems
  • Package Management
  • Entering the Chroot Environment
  • Creating Directories
  • Creating Essential Files and Symlinks
  • Linux-2.6.37 API Headers
  • Man-pages-3.32
  • Glibc-2.13
  • Re-adjusting the Toolchain
  • Zlib-1.2.5
  • Binutils-2.21
  • GMP-5.0.1
  • MPFR-3.0.0
  • MPC-0.8.2
  • GCC-4.5.2
  • Sed-4.2.1
  • Pkg-config-0.25
  • Ncurses-5.7
  • Util-linux-2.19
  • E2fsprogs-1.41.14
  • Coreutils-8.10
  • Iana-Etc-2.30
  • M4-1.4.15
  • Bison-2.4.3
  • Procps-3.2.8
  • Grep-2.7
  • Readline-6.2
  • Bash-4.2
  • Libtool-2.4
  • GDBM-1.8.3
  • Inetutils-1.8
  • Perl-5.12.3
  • Autoconf-2.68
  • Automake-1.11.1
  • Bzip2-1.0.6
  • Diffutils-3.0
  • Gawk-3.1.8
  • File-5.05
  • Findutils-4.4.2
  • Flex-2.5.35
  • Gettext-0.18.1.1
  • Groff-1.21
  • GRUB-1.98
  • Gzip-1.4
  • IPRoute2-2.6.37
  • Kbd-1.15.2
  • Less-436
  • Make-3.82
  • Xz-5.0.1
  • Man-DB-2.5.9
  • Module-Init-Tools-3.12
  • Patch-2.6.1
  • Psmisc-22.13
  • Shadow-4.1.4.3
  • Sysklogd-1.5
  • Sysvinit-2.88dsf
  • Tar-1.25
  • Texinfo-4.13a
  • Udev-166
  • Vim-7.3
  • About Debugging Symbols
  • Stripping Again
  • Cleaning Up

7. Setting Up System Bootscripts

Introduction LFS-Bootscripts-20100627 How Do These Bootscripts Work? Configuring the setclock Script Configuring the Linux Console Configuring the sysklogd Script Creating the /etc/inputrc File The Bash Shell Startup Files Device and Module Handling on an LFS System Creating Custom Symlinks to Devices Configuring the localnet Script Customizing the /etc/hosts File Configuring the network Script

8. Making the LFS System Bootable

Introduction Creating the /etc/fstab File Linux-2.6.37 Using GRUB to Set Up the Boot Process

9. The End

The End Get Counted Rebooting the System What Now? IV. Appendices A. Acronyms and Terms B. Acknowledgments C. Dependencies D. Boot and sysconfig scripts version-20100627 /etc/rc.d/init.d/rc /etc/rc.d/init.d/functions /etc/rc.d/init.d/mountkernfs /etc/rc.d/init.d/consolelog /etc/rc.d/init.d/modules /etc/rc.d/init.d/udev /etc/rc.d/init.d/swap /etc/rc.d/init.d/setclock /etc/rc.d/init.d/checkfs /etc/rc.d/init.d/mountfs /etc/rc.d/init.d/udev_retry /etc/rc.d/init.d/cleanfs /etc/rc.d/init.d/console /etc/rc.d/init.d/localnet /etc/rc.d/init.d/sysctl /etc/rc.d/init.d/sysklogd /etc/rc.d/init.d/network /etc/rc.d/init.d/sendsignals /etc/rc.d/init.d/reboot /etc/rc.d/init.d/halt /etc/rc.d/init.d/template /etc/sysconfig/rc /etc/sysconfig/modules /etc/sysconfig/createfiles /etc/sysconfig/network-devices/ifup /etc/sysconfig/network-devices/ifdown /etc/sysconfig/network-devices/services/ipv4-static /etc/sysconfig/network-devices/services/ipv4-static-route E. Udev configuration rules 55-lfs.rules F. LFS Licenses Creative Commons License The MIT License Index