summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 1d8f2cc..9db1e37 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -235,4 +235,14 @@ for name in $SOURCES; do
done
# Install Treetap
-cp $TREETAP $BOOTSTRAP/root/bin/ \ No newline at end of file
+cp $TREETAP $BOOTSTRAP/root/bin/
+
+# Prepare for chroot build
+mkdir -p $BOOTSTRAP/root/maple/
+cp rootbuild.sh $BOOTSTRAP/root/maple/
+export TT_DIR=$BOOTSTRAP/root/maple/.treetap
+SOURCES=(libarchive libressl xz)
+for name in $SOURCES; do
+ $TREETAP fetch $SPEC/$name/$name.spec
+done
+cp -r $SPEC $BOOTSTRAP/root/maple/ \ No newline at end of file