Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/update-kernel-config
diff options
context:
space:
mode:
Diffstat (limited to 'update-kernel-config')
-rwxr-xr-xupdate-kernel-config10
1 files changed, 7 insertions, 3 deletions
diff --git a/update-kernel-config b/update-kernel-config
index 7a6b295..5012979 100755
--- a/update-kernel-config
+++ b/update-kernel-config
@@ -127,10 +127,14 @@ ssh arch32-test '
ssh arch32-test '
cd "'"$2"'"
eval "$(grep '"'"'^_srcname='"'"' PKGBUILD)"
- for arch in i486 i686; do
+ for config_name in '"${config_names}"'; do
rm -rf --one-file-system src pkg
- CARCH=${arch} makepkg -fcrs --asdeps --noconfirm
- mv src/${_srcname}/.config config.${arch}
+ if [ "${config_name}" = "config" ]; then
+ makepkg -fcrs --asdeps --noconfirm
+ else
+ CARCH=${config_name#config.} makepkg -fcrs --asdeps --noconfirm
+ fi
+ mv src/${_srcname}/.config ${config_name}
done
'
for config_name in ${config_names}; do