From 454b3c77da0f75edf73ca3259e8a144bf0b732b7 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 15 Oct 2018 16:14:55 +0200 Subject: update-kernel-config: now also for linux-zen --- update-kernel-config | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'update-kernel-config') 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 -- cgit v1.2.3-70-g09d2