From e5666e4572f2273f8d3dd4443cf48566517a8f52 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 13 Apr 2016 10:05:56 +0200 Subject: add cutsom makepkg.conf's --- archPackagesUpdate | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'archPackagesUpdate') diff --git a/archPackagesUpdate b/archPackagesUpdate index ab1bc8da..89a387fe 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -143,6 +143,13 @@ if ${aufRechenknecht} then maxErr=0 +# generate current makepkg.conf and makepkg32.conf + cd "${tmpDir}" + cp /etc/makepkg.conf . + patch -p0 -i makepkgSystem.patch + cp makepkg{,32}.conf + patch -p0 -i makepkg32.patch + # build packages for ((i=0; i<${#pakete[@]}; i++)) do @@ -159,7 +166,7 @@ then echo '\ sudo pacman -Sy && \ cd "'"${tmpDir}/${paket}"'" && \ - _targetHost='\''--host=i686-pc-linux-gnu'\'' makepkg -fcsr --noconfirm && \ + _targetHost='\''--host=i686-pc-linux-gnu'\'' makepkg --config "'"${tmpDir}"'/makepkg32.conf" -fcsr --noconfirm && \ exit\ ' | \ chrootUnpriv @@ -167,7 +174,7 @@ then else # everything else is built directly sudo pacman -Sy - makepkg -fcsr --noconfirm + makepkg --config "${tmpDir}/makepkg.conf" -fcsr --noconfirm err[${i}]=$? fi if ${abortOnMakepkgError} && [ ${err[${i}]} -ne 0 ] -- cgit v1.2.3-54-g00ecf