From 4d7d290e3609bd1ac9cf799deb50d68f77b1f1dd Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 8 Mar 2018 14:13:52 +0100 Subject: building up to pam (with krb5 and libtirpc) --- build_stage3_package.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'build_stage3_package.sh') 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 -- cgit v1.2.3-54-g00ecf