Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
CLFS - Embedded
CLFS - Embedded
  • Preface
    • i. Foreword
    • ii. Audience
    • iii. Prerequisites
    • iv. Typography
    • v. Structure
    • vi. Open Publication License
    • vii. Master Changelog
    • viii. Cross-LFS Acknowledgements
    • ix. Errata
  • I. Introduction
    • 1. Introduction
      • 1.1. How to Build a CLFS System
      • 1.2 Host System Requirements
      • 1.3. Resources
      • 1.4. Help
  • II. Preparing for the Build
    • 2. Build Directory, Packages, and Patches
      • 2.1. Introduction
      • 2.2 Creating Build and Sources Directories
      • 2.3 All Packages
      • 2.3 Needed Patches
    • 3. Final Preparations
      • 3.1 About $CLFS
      • 3.2. Adding the CLFS User
      • 3.3. Setting Up the Environment
  • III. Make the Cross-Compile Tools
    • 4. Constructing Cross-Compile Tools (x86)
      • 4.1. Introduction
      • 4.2. Build CFLAGS
      • 4.3. Build Variables
      • 4.4. Create the Cross Tools Sysroot Directory
      • 4.5. Linux-Headers-6.7.4
      • 4.6. Binutils-2.42
      • 4.7. GCC-13.2.0 - Static
      • 4.8. musl-1.2.5
      • 4.9. GCC-13.2.0 - Final
      • 4.10. ToolChain Variables
    • 4. Constructing Cross-Compile Tools (ARM)
      • 4.1. Introduction
      • 4.2. Build CFLAGS
      • 4.3. Build Variables
      • 4.4. Create the Cross Tools Sysroot Directory
      • 4.5. Linux-Headers-6.7.4
      • 4.6. Binutils-2.42
      • 4.7. GCC-13.2.0 - Static
      • 4.8. musl-1.2.5
      • 4.9. GCC-13.2.0 - Final
      • 4.10. ToolChain Variables
    • 4. Constructing Cross-Compile Tools (MIPS)
      • 4.1. Introduction
      • 4.2. Build CFLAGS
      • 4.3. Build Variables
      • 4.4. Create the Cross Tools Sysroot Directory
      • 4.5. Linux-Headers-6.7.4
      • 4.6. Binutils-2.42
      • 4.7. GCC-13.2.0 - Static
      • 4.8. musl-1.2.5
      • 4.9. GCC-13.2.0 - Final
      • 4.10. ToolChain Variables
  • IV. Building the CLFS System
    • 5. Installing Basic System Software
      • 5.1. Introduction
      • 5.2. Creating Directories
      • 5.3. Creating the passwd, group, and lastlog Files
      • 5.4. libgcc-13.2.0
      • 5.5. musl-1.2.5
      • 5.6. BusyBox-1.36.1
      • 5.7. iana-etc-20240125
    • 6. Making the CLFS System Bootable
      • 6.1. Introduction
      • 6.2. Creating the /etc/fstab File
      • 6.3. Linux-6.7.4
      • 6.4. Bootloaders
    • 7. Setting Up System Bootscripts
      • 7.1. Introduction
      • 7.2. CLFS-Bootscripts-git master HEAD
      • 7.3. Configure mdev
      • 7.4. Creating /etc/profile
      • 7.5. Creating /etc/inittab
      • 7.6. Setting Hostname
      • 7.7. Customizing the /etc/hosts File
      • 7.8. Configuring the network Script
  • V. Beyond CLFS Embedded
    • 8. Beyond CLFS Embedded
      • 8.1 Introduction
      • 8.2. Beyond CLFS Packages
      • 8.3. Beyond CLFS Patches
      • 8.4. Zlib-1.3.1
      • 8.5. Netplug-1.2.9.2
      • 8.6. Dropbear-2022.83
      • 8.7. Wireless Tools-29
  • VI. Cleanup and Boot
    • 9. Backup and Cleanup
      • 9.1. Changing the Ownership of the CLFS System
      • 9.2. Copy to Target
    • 10. The End
      • 10.1. The End
      • 10.2. What Now?
  • Legal Notice
  • Index
Back to top
View this page

3. Final PreparationsΒΆ

Table of Contents

  • 3.1 About $CLFS
  • 3.2. Adding the CLFS User
  • 3.3. Setting Up the Environment
Next
3.1 About $CLFS
Previous
2.3 Needed Patches
Copyright © 2005-2024, Andrew Bradford, Joe Ciccone, Jim Gifford, Maarten Lankhorst, Ryan Oliver, & Michele Bucca
Made with Sphinx and @pradyunsg's Furo