summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-19 12:35:15 +0200
committerErich Eckner <git@eckner.net>2016-04-19 12:35:15 +0200
commitf4b438298ba48751d5975d32084d78fdf2aa0144 (patch)
treea36b2021efbeec0d2039209b5c033c4b8414df8e
parentb8c6d3eef1352bab54b8424f2c8dbd5c4ecaef84 (diff)
downloadarchlinuxewe.git.save-f4b438298ba48751d5975d32084d78fdf2aa0144.tar.xz
archPackagesUpdate baut nun auch 64 bit in chroot
-rwxr-xr-xarchPackagesUpdate17
1 files changed, 11 insertions, 6 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index e59437a6..2dbf2ebb 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 ]