index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-10-15 16:14:55 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-15 16:14:55 +0200 |
commit | 454b3c77da0f75edf73ca3259e8a144bf0b732b7 (patch) | |
tree | 8471d8377090d1115168cd90f7eeda40a077f0bc | |
parent | 21da8cf425c185a8bc7a544a785324d75fe26114 (diff) |
-rwxr-xr-x | update-kernel-config | 10 |
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 |