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 --- build_stage2.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 build_stage2.sh (limited to 'build_stage2.sh') diff --git a/build_stage2.sh b/build_stage2.sh new file mode 100755 index 0000000..8cf5dfd --- /dev/null +++ b/build_stage2.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +# shellcheck source=./default.conf +. "./default.conf" + +# build all packages for stage 2 using the target system with stage 1 +# packages. packages will be installed with pacman onto the target +# system once built sucessfully. The artifacts are also copied back +# to the $STAGE2_PACKAGES to speed up rebuild of the state of the stage 1 +# system in case of destroying it. + +PACKAGES="bash" + +for p in $PACKAGES; do + "$SCRIPT_DIR/build_stage2_package.sh" "$p" || exit 1 +done + -- cgit v1.2.3-54-g00ecf