summaryrefslogtreecommitdiff
path: root/build_stage1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_stage1.sh')
-rwxr-xr-xbuild_stage1.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/build_stage1.sh b/build_stage1.sh
new file mode 100755
index 0000000..33ad94b
--- /dev/null
+++ b/build_stage1.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+. "./default.conf"
+
+# build all packages for stage 1 using the cross-compiler
+# packages will be installed with pacman into $STAGE1_CHROOT, dependencies
+# for cross-compiling packages will be installed with bsdtar into
+# the sysroot of the specific cross compiler in $XTOOLS_ARCH
+
+PACKAGES="iana-etc filesystem tzdata"
+
+for p in $PACKAGES; do
+ "$SCRIPT_DIR/build_stage1_package.sh" "$p"
+done
+