summaryrefslogtreecommitdiff
path: root/build_stage3_package.sh
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-03-08 14:13:52 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-03-08 14:13:52 +0100
commit4d7d290e3609bd1ac9cf799deb50d68f77b1f1dd (patch)
tree1dd1a66d26dc3112c6d57f169fc81b96af2d15a6 /build_stage3_package.sh
parenta1b70efd48ce85dbd65388fa7c397b5380c1224f (diff)
downloadbootstrap32-4d7d290e3609bd1ac9cf799deb50d68f77b1f1dd.tar.xz
building up to pam (with krb5 and libtirpc)
Diffstat (limited to 'build_stage3_package.sh')
-rwxr-xr-xbuild_stage3_package.sh13
1 files changed, 7 insertions, 6 deletions
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