Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-15 16:14:55 +0200
committerErich Eckner <git@eckner.net>2018-10-15 16:14:55 +0200
commit454b3c77da0f75edf73ca3259e8a144bf0b732b7 (patch)
tree8471d8377090d1115168cd90f7eeda40a077f0bc
parent21da8cf425c185a8bc7a544a785324d75fe26114 (diff)
update-kernel-config: now also for linux-zen
-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