From 44f5b7af6444173b16d1495023d80aaef8a9c47a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 18 Feb 2018 21:40:12 +0100 Subject: work on stage 2 --- README | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'README') diff --git a/README b/README index f17ece6..9af3759 100644 --- a/README +++ b/README @@ -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 -- cgit v1.2.3-54-g00ecf