diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-19 21:29:09 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-19 21:29:09 +0100 |
commit | fd8bbbc755c8dd44fd6ffe0c3f065600f2eb569f (patch) | |
tree | c26091c257c5102cc5cb7ad4f7012e26abd9a68d /build_stage2_package.sh | |
parent | 44f5b7af6444173b16d1495023d80aaef8a9c47a (diff) | |
download | bootstrap32-fd8bbbc755c8dd44fd6ffe0c3f065600f2eb569f.tar.xz |
building first package on stage 2
Diffstat (limited to 'build_stage2_package.sh')
-rwxr-xr-x | build_stage2_package.sh | 11 |
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 |