Skip to content

Commit e3f8779

Browse files
committed
utils/kernel-refresh.sh: Stage defconfigs
Everything else got staged, but not defconfigs
1 parent ebcb38b commit e3f8779

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

utils/kernel-refresh.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,11 @@ DEFCONFIG_DIR=$(readlink -f $DEFCONFIG_DIR)
9191
git ls-files --error-unmatch $PATCH_DIR 1>/dev/null 2>&1 && git -C $PATCH_DIR rm -f *.patch
9292
git -C $KERNEL_DIR format-patch --no-signoff --no-encode-email-headers --no-cover-letter --no-signature -o $PATCH_DIR $KERNEL_TAG..HEAD
9393
git -C $PATCH_DIR add *.patch
94-
9594
if [ -d ${PATCHES_BASE}/${OLD_VER} ]; then
9695
git rm -rf ${PATCHES_BASE}/${OLD_VER}
9796
fi
9897
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\"/" {} \;
99-
98+
git -C $DEFCONFIG_DIR add *_defconfig
10099

101100
echo "Update checksum for kernel, this may take a while..."
102101
curl -o "/tmp/linux-${ixkver}.tar.xz" "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${ixkver}.tar.xz"

0 commit comments

Comments
 (0)