From b98bf100c5cf99925d620fcfe12722ff0dcc210d Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Thu, 28 Jul 2022 21:05:52 +0800 Subject: [PATCH] update --- devices/common/kernel_5.15.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/devices/common/kernel_5.15.sh b/devices/common/kernel_5.15.sh index 364580edaadd..9123131a7aa7 100644 --- a/devices/common/kernel_5.15.sh +++ b/devices/common/kernel_5.15.sh @@ -2,6 +2,7 @@ rm -rf target/linux package/kernel package/boot package/firmware/linux-firmware include/{kernel-*,netfilter.mk} latest="$(curl -sfL https://github.com/openwrt/openwrt/commits/master/include | grep -o 'href=".*>kernel: bump 5.15' | head -1 | cut -d / -f 5 | cut -d '"' -f 1)" +latest="" mkdir new; cp -rf .git new/.git cd new [ "$latest" ] && git reset --hard $latest || git reset --hard origin/master