Update 02-x86_64_target_only.sh

This commit is contained in:
2025-10-26 07:48:38 +08:00
committed by GitHub
parent fed7ab9898
commit 3629e70261

View File

@@ -23,8 +23,3 @@ fi
exit 0
'> ./package/base-files/files/etc/rc.local
#Vermagic
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