Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build_stage2_package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_stage2_package.sh')
-rwxr-xr-xbuild_stage2_package.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/build_stage2_package.sh b/build_stage2_package.sh
index ebf75da..de6643a 100755
--- a/build_stage2_package.sh
+++ b/build_stage2_package.sh
@@ -92,10 +92,13 @@ if test "$(find "$STAGE2_PACKAGES" -regex ".*/$PACKAGE-.*pkg\\.tar\\.xz"n | wc -
# copy everything to the stage 1 machine
scp -i $CROSS_HOME/.ssh/id_rsa -rC "$STAGE2_BUILD/$PACKAGE" build@$STAGE1_MACHINE_IP:/build/.
- # TODO:
# building the actual package
- #$STAGE1_BUILD/makepkg-$TARGET_CPU -C --config $STAGE1_BUILD/makepkg-$TARGET_CPU.conf \
-# --skipchecksums --skippgpcheck --nocheck > "$PACKAGE.log" 2>&1
-# RES=$?
+ ssh -i $CROSS_HOME/.ssh/id_rsa build@$STAGE1_MACHINE_IP bash -c "'cd $PACKAGE && makepkg --skipchecksums --skippgpcheck --nocheck'" > $PACKAGE.log 2>&1
+ RES=$?
+
+ tail "$PACKAGE.log"
+
+ #~ if test $RES = 0; then
+ #~ fi
fi