diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-18 21:40:12 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-18 21:40:12 +0100 |
commit | 44f5b7af6444173b16d1495023d80aaef8a9c47a (patch) | |
tree | fb470c6efae079bfecfa25d92b3424dc6cfc0058 /README | |
parent | 224768b40915233bf11a863946ffdcb2dda6a63f (diff) | |
download | bootstrap32-44f5b7af6444173b16d1495023d80aaef8a9c47a.tar.xz |
work on stage 2
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 |