summaryrefslogtreecommitdiff
path: root/build_stage2.sh
blob: 8cf5dfd3787df81bc96352b087f3756d49886cb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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