From 70967ec9d1de9f2b1c5b40145ebe367ce3789c4b Mon Sep 17 00:00:00 2001 From: OPPEN321 Date: Sat, 25 Oct 2025 17:17:03 +0800 Subject: [PATCH 1/2] Update 02-rockchip_target_only.sh --- scripts/02-rockchip_target_only.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/02-rockchip_target_only.sh b/scripts/02-rockchip_target_only.sh index 68b2b1b..fec7b78 100644 --- a/scripts/02-rockchip_target_only.sh +++ b/scripts/02-rockchip_target_only.sh @@ -5,6 +5,6 @@ sed -i 's,-mcpu=generic,-march=armv8-a+crc+crypto,g' include/target.mk sed -i 's,kmod-r8168,kmod-r8169,g' target/linux/rockchip/image/armv8.mk #Vermagic -wget https://downloads.openwrt.org/releases/${latest_version}/targets/rockchip/armv8/profiles.json +wget https://downloads.openwrt.org/releases/$tag_version/targets/rockchip/armv8/profiles.json jq -r '.linux_kernel.vermagic' profiles.json >.vermagic sed -i -e 's/^\(.\).*vermagic$/\1cp $(TOPDIR)\/.vermagic $(LINUX_DIR)\/.vermagic/' include/kernel-defaults.mk From c3979a41ea51540d5789991920566b0d71f29fb4 Mon Sep 17 00:00:00 2001 From: OPPEN321 Date: Sat, 25 Oct 2025 17:17:16 +0800 Subject: [PATCH 2/2] Update 02-x86_64_target_only.sh --- scripts/02-x86_64_target_only.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/02-x86_64_target_only.sh b/scripts/02-x86_64_target_only.sh index ee8ad5d..7ddcbf7 100644 --- a/scripts/02-x86_64_target_only.sh +++ b/scripts/02-x86_64_target_only.sh @@ -25,6 +25,6 @@ exit 0 '> ./package/base-files/files/etc/rc.local #Vermagic -wget https://downloads.openwrt.org/releases/${latest_version}/targets/x86/64/profiles.json +wget https://downloads.openwrt.org/releases/$tag_version/targets/x86/64/profiles.json jq -r '.linux_kernel.vermagic' profiles.json >.vermagic sed -i -e 's/^\(.\).*vermagic$/\1cp $(TOPDIR)\/.vermagic $(LINUX_DIR)\/.vermagic/' include/kernel-defaults.mk