Update 02-x86_64_target_only.sh

This commit is contained in:
2025-10-25 17:17:16 +08:00
committed by GitHub
parent 70967ec9d1
commit c3979a41ea

View File

@@ -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