index : bootstrap32 | |
Archlinux32 bootstrap scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-03-10 21:35:47 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-03-10 21:35:47 +0100 |
commit | c8daadccefa390907f500ca3a2621312e2a2dcb6 (patch) | |
tree | 5b14e1edd1893dd75922fc4b6dbf2b4e97d40c36 /build_stage3_package.sh | |
parent | 9d8946a6ecfc19d01d8da12f20572bbfc556977f (diff) |
-rwxr-xr-x | build_stage3_package.sh | 12 |
diff --git a/build_stage3_package.sh b/build_stage3_package.sh index 78fc5a6..ec9efd8 100755 --- a/build_stage3_package.sh +++ b/build_stage3_package.sh @@ -131,14 +131,18 @@ if test "$(find "$STAGE3_PACKAGES" -regex ".*/$PACKAGE-.*pkg\\.tar\\.xz" | wc -l # install onto stage 1 system via pacman + if test "$FORCE_INSTALL"; then + FORCE="--force" + fi + ssh -i $CROSS_HOME/.ssh/id_rsa root@$STAGE1_MACHINE_IP bash -c "' # TODO: broken [temp] repo if test \"$ADDITIONAL_INSTALL_PACKAGE\" != \"\"; then - #pacman --noconfirm -Syy $PACKAGE $ADDITIONAL_INSTALL_PACKAGE - pacman --noconfirm -U /packages/$TARGET_CPU/$PACKAGE-*.pkg.tar.xz /packages/$TARGET_CPU/$ADDITIONAL_INSTALL_PACKAGE-*.pkg.tar.xz + #pacman $FORCE --noconfirm -Syy $PACKAGE $ADDITIONAL_INSTALL_PACKAGE + pacman $FORCE --noconfirm -U /packages/$TARGET_CPU/$PACKAGE-*.pkg.tar.xz /packages/$TARGET_CPU/$ADDITIONAL_INSTALL_PACKAGE-*.pkg.tar.xz else - #pacman --noconfirm -Syy $PACKAGE - pacman --noconfirm -U /packages/$TARGET_CPU/$PACKAGE-*.pkg.tar.xz + #pacman $FORCE --noconfirm -Syy $PACKAGE + pacman $FORCE --noconfirm -U /packages/$TARGET_CPU/$PACKAGE-*.pkg.tar.xz fi '" |