Chapter 4. Building T2

Table of Contents

Downloading the T2 Source Code
Using the Scripts
Updating the T2 Source Tree
Switching to Another Tree or Version
Building the Target
Preparing the Build System
Configuring the T2 Build
Downloading the Package Sources
Mirrors
Missing Files?
Fixing URLs
Checksum
Download Tips
Unknown Files
The Actual Compilation Phase
Build Errors
Cleanup
Build Summary
Creating an ISO Image (for CD-ROM Installation)
Building More Than One Target
Building a Single Package
Troubleshooting
chroot: cannot run command `bin/bash'
Found shared files with other packages:
Command Not Found
mount: you must specify the filesystem type
Free Disk Space
Building On a non-T2 Systems
Bootfloppy Images
Building a Required Package Manually
Fixing Broken Packages
Tips
Build a Standard Edition First
Watch Progress
Cluster Build - the Build Speedup
Set the 'nice' Level
./t2 config -cfg kiosk
./t2 download -cfg kiosk
./t2 build-target -cfg kiosk

And Create-ISO accepts config names accordingly:

./t2 create-iso mycdset kiosk

Create-ISO allows to sort more than one build into the ISO files, for example to create mixed CPU architecture media or to add a rescue target along the main system:

./t2 create-iso mycdset kiosk rescue

Additional options include:

Usage: ./t2 create-iso [ -size MB ] [ -source ] [ -mkdebug ] [ -nomd5 ]
       ISO-Prefix [ Config [ .. ] ]

E.g.: ./t2 create-iso mycdset system rescue