From f4b438298ba48751d5975d32084d78fdf2aa0144 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 19 Apr 2016 12:35:15 +0200 Subject: archPackagesUpdate baut nun auch 64 bit in chroot --- archPackagesUpdate | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'archPackagesUpdate') diff --git a/archPackagesUpdate b/archPackagesUpdate index e59437a63..2dbf2ebbf 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -270,19 +270,24 @@ then if [ "${arch}" == "i686" ] then - # 32-bit is built in chroot + # 32-bit is built in chroot /opt/arch32 echo '\ sudo pacman -Sy && \ cd "'"${tmpDir}/${paket}"'" && \ - _targetHost='\''--host=i686-pc-linux-gnu'\'' makepkg --config "'"${tmpDir}"'/makepkg32.conf" --sign -fcsr --noconfirm && \ - exit\ + _targetHost='\''--host=i686-pc-linux-gnu'\'' makepkg --config "'"${tmpDir}"'/makepkg32.conf" --sign -fcsr --noconfirm + exit $? ' | \ chrootUnpriv /opt/arch32 err[${i}]=$? else - # everything else is built directly - sudo pacman -Sy - makepkg --config "${tmpDir}/makepkg.conf" --sign -fcsr --noconfirm + # 64-bit is built in chroot /opt/arch64 + echo '\ + sudo pacman -Sy && \ + cd "'"${tmpDir}/${paket}"'" && \ + makepkg --config "'"${tmpDir}"'/makepkg.conf" --sign -fcsr --noconfirm + exit $? + ' | \ + chrootUnpriv /opt/arch64 err[${i}]=$? fi if ${abortOnMakepkgError} && [ ${err[${i}]} -ne 0 ] -- cgit v1.2.3-70-g09d2