index : bootstrap32 | |
Archlinux32 bootstrap scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-03-08 14:13:52 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-03-08 14:13:52 +0100 |
commit | 4d7d290e3609bd1ac9cf799deb50d68f77b1f1dd (patch) | |
tree | 1dd1a66d26dc3112c6d57f169fc81b96af2d15a6 /build_stage3_package.sh | |
parent | a1b70efd48ce85dbd65388fa7c397b5380c1224f (diff) |
-rwxr-xr-x | build_stage3_package.sh | 13 |
diff --git a/build_stage3_package.sh b/build_stage3_package.sh index fe80592..78fc5a6 100755 --- a/build_stage3_package.sh +++ b/build_stage3_package.sh @@ -133,12 +133,13 @@ if test "$(find "$STAGE3_PACKAGES" -regex ".*/$PACKAGE-.*pkg\\.tar\\.xz" | wc -l ssh -i $CROSS_HOME/.ssh/id_rsa root@$STAGE1_MACHINE_IP bash -c "' # TODO: broken [temp] repo - #pacman --noconfirm -Syy $PACKAGE - pacman --noconfirm -U /packages/$TARGET_CPU/$PACKAGE-*.pkg.tar.xz - if test $ADDITIONAL_INSTALL_PACKAGE != ""; then - #pacman --noconfirm -Syy $ADDITIONAL_INSTALL_PACKAGE - pacman --noconfirm -U /packages/$TARGET_CPU/$ADDITIONAL_INSTALL_PACKAGE-*.pkg.tar.xz - fi + 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 + else + #pacman --noconfirm -Syy $PACKAGE + pacman --noconfirm -U /packages/$TARGET_CPU/$PACKAGE-*.pkg.tar.xz + fi '" # copy packages from target machine and replace our local version with it |