diff options
author | Erich Eckner <git@eckner.net> | 2019-04-13 14:51:29 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-04-13 14:52:54 +0200 |
commit | 6d3a9f2d36bf306b0c3c723d12275699f653a710 (patch) | |
tree | 04ca13106e2f9db49dc602347ba02ecad8406a08 | |
parent | 32d707ac99de56686b209cda46e6100dcfed40e9 (diff) | |
download | archlinuxewe.git.save-6d3a9f2d36bf306b0c3c723d12275699f653a710.tar.xz |
rename chroots
-rwxr-xr-x | archPackagesUpdate | 20 | ||||
-rw-r--r-- | makepkg-i686.patch (renamed from makepkg32.patch) | 4 |
2 files changed, 12 insertions, 12 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate index e3143a04..9c7f3b93 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -400,8 +400,8 @@ if ${aufRechenknecht}; then # check sanity of build-chroots err=false - for chrootArch in 32 64; do - [ -d "/opt/arch${chrootArch}" ] || continue + for chrootArch in i686 x86_64; do + [ -d "/opt/arch-${chrootArch}" ] || continue basePakete=$( ( echo ' @@ -501,7 +501,7 @@ if ${aufRechenknecht}; then maxErr=0 -# generate current makepkg.conf and makepkg32.conf +# generate current makepkg.conf and makepkg-i686.conf cd "${tmpDir}" cp /etc/makepkg.conf . if ! patch -p0 -i makepkgSystem.patch; then @@ -509,8 +509,8 @@ if ${aufRechenknecht}; then exit 1 fi sed 's|^\(BUILDENV=.*\)!sign|\1sign|' -i makepkg.conf - cp makepkg{,32}.conf - if ! patch -p0 -i makepkg32.patch; then + cp makepkg{,-i686}.conf + if ! patch -p0 -i makepkg-i686.patch; then cleanUp exit 1 fi @@ -579,21 +579,21 @@ if ${aufRechenknecht}; then done if [ "${arch}" = 'i686' ]; then - # 32-bit is built in chroot /opt/arch32 + # 32-bit is built in chroot /opt/arch-i686 ( ${cleanCache} && \ echo 'sudo pacman -Sc --noconfirm && \' echo '\ sudo pacman -Sy && \ cd "'"${tmpDir}/${paket}"'" && \ - _targetHost='"'"'--host=i686-pc-linux-gnu'"'"' makepkg '"${log} ${checkMakepkg}"' --holdver --config "'"${tmpDir}"'/makepkg32.conf" -fsr --noconfirm --asdeps + _targetHost='"'"'--host=i686-pc-linux-gnu'"'"' makepkg '"${log} ${checkMakepkg}"' --holdver --config "'"${tmpDir}"'/makepkg-i686.conf" -fsr --noconfirm --asdeps exit $? ' ) | \ - chrootUnpriv 32 + chrootUnpriv i686 err[${i}]=$? elif [ "${arch}" = 'x86_64' ] || [ "${arch}" = 'any' ]; then - # 64-bit and any is built in chroot /opt/arch64 + # 64-bit and any is built in chroot /opt/arch-x86_64 ( ${cleanCache} && \ echo 'sudo pacman -Sc --noconfirm && \' @@ -604,7 +604,7 @@ if ${aufRechenknecht}; then exit $? ' ) | \ - chrootUnpriv 64 + chrootUnpriv x86_64 err[${i}]=$? else printf 'unbekannte Architektur "%s"\n' "${arch}" diff --git a/makepkg32.patch b/makepkg-i686.patch index 5cca1e01..3068e318 100644 --- a/makepkg32.patch +++ b/makepkg-i686.patch @@ -1,5 +1,5 @@ ---- makepkg32.conf 2018-05-30 08:38:02.885358183 +0200 -+++ makepkg32.conf 2018-05-30 08:40:25.575856939 +0200 +--- makepkg-i686.conf 2018-05-30 08:38:02.885358183 +0200 ++++ makepkg-i686.conf 2018-05-30 08:40:25.575856939 +0200 @@ -32,13 +32,13 @@ # ARCHITECTURE, COMPILE FLAGS ######################################################################### |