diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -163,3 +163,26 @@ su cross ./create_cdrom.sh # stage 2 build system on the target architecture) su cross ./create_hdd.sh + +######### +# STAGE 2 +######### + +# Assume stage1 of the system is installed on the target architecture +# (virtual or a real machine), we have a key-based SSH connection to +# the machine and can build packages there. + +# Build stage2 in $STAGE2_BUILD with the tools on the stage1 system +# and modified PKGBUILDs and patches into the target system (replacing +# stage 1 packages). Stage 1 serves now the same function as the sysroot. + +# The goal is to get a self-hosting system on the target architecture, +# not necesseraly containing all of base and base-devel, but enough to +# bootstrap itself on the target architecture. + +su cross ./prepare_stage2_repo.sh + +# Build stage 2 on the target architecture and install it onto the +# stage 1 system. Resulting artifacts get stored in $STAGE2_BUILD. + +./build_stage2.sh |