Part V. Building the system

Table of Contents

29. Obtaining the sources
29.1. Preparing directories
29.2. Terminology
29.3. Downloading tarballs
29.3.1. Downloading sources for a NetBSD release
29.3.2. Downloading sources for a NetBSD stable branch
29.3.3. Downloading sources for a NetBSD-current development branch
29.4. Fetching by CVS
29.4.1. Fetching a NetBSD release
29.4.2. Fetching a NetBSD stable branch
29.4.3. Fetching the NetBSD-current development branch
29.4.4. Saving some cvs(1) options
29.5. Sources on CD (ISO)
30. Crosscompiling NetBSD with build.sh
30.1. Building the crosscompiler
30.2. Configuring the kernel manually
30.3. Crosscompiling the kernel manually
30.4. Crosscompiling the kernel with build.sh
30.5. Crosscompiling the userland
30.6. Crosscompiling the X Window System
30.7. Changing build behaviour
30.7.1. Changing the Destination Directory
30.7.2. Static Builds
30.7.3. Using build.sh options
30.7.4. make(1) variables used during build
31. Compiling the kernel
31.1. Requirements and procedure
31.2. Installing the kernel sources
31.3. Creating the kernel configuration file
31.4. Building the kernel manually
31.4.1. Configuring the kernel manually
31.4.2. Generating dependencies and recompiling manually
31.5. Building the kernel using build.sh
31.6. Installing the new kernel
31.7. If something went wrong
32. Updating an existing system from sources
32.1. The updating procedure
32.1.1. Building a new userland
32.1.2. Building a new kernel
32.1.3. Installing the kernel and userland
32.1.4. Updating the system configuration files
32.1.5. Summary
32.1.6. Alternative: using sysinst
32.2. More details about the updating of configuration and startup files
32.2.1. Using etcupdate with source files
32.2.2. Using etcupdate with binary distribution sets
32.2.3. Using etcmanage instead of etcupdate
33. Building NetBSD installation media
33.1. Creating custom install or boot floppies for your architecture e.g. i386
33.2. Creating a custom install or boot CD with build.sh