From e3f87799b68ada42be6b6496dada2c4ca3a79c98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Fri, 27 Jun 2025 13:39:31 +0200 Subject: [PATCH] utils/kernel-refresh.sh: Stage defconfigs Everything else got staged, but not defconfigs --- utils/kernel-refresh.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/kernel-refresh.sh b/utils/kernel-refresh.sh index e62e86eb..c7b2a269 100755 --- a/utils/kernel-refresh.sh +++ b/utils/kernel-refresh.sh @@ -91,12 +91,11 @@ DEFCONFIG_DIR=$(readlink -f $DEFCONFIG_DIR) git ls-files --error-unmatch $PATCH_DIR 1>/dev/null 2>&1 && git -C $PATCH_DIR rm -f *.patch git -C $KERNEL_DIR format-patch --no-signoff --no-encode-email-headers --no-cover-letter --no-signature -o $PATCH_DIR $KERNEL_TAG..HEAD git -C $PATCH_DIR add *.patch - if [ -d ${PATCHES_BASE}/${OLD_VER} ]; then git rm -rf ${PATCHES_BASE}/${OLD_VER} fi find "$DEFCONFIG_DIR" -name "*_defconfig" -exec sed -i "s/BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\"$OLD_VER\"/BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\"$NEW_VER\"/" {} \; - +git -C $DEFCONFIG_DIR add *_defconfig echo "Update checksum for kernel, this may take a while..." curl -o "/tmp/linux-${ixkver}.tar.xz" "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${ixkver}.tar.xz"