From 4b35a2ca12c96c162cbf7850793b1994ccf7d364 Mon Sep 17 00:00:00 2001 From: "519561910@qq.com" <519561910@qq.com> Date: Fri, 4 Jul 2025 14:02:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20coremark=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E4=B8=BA=E5=8A=A8=E6=80=81=E7=BC=96=E8=AF=91=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- diy-part2-x86.sh | 6 ++---- diy-part2.sh | 7 ++----- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/diy-part2-x86.sh b/diy-part2-x86.sh index 79c29f1..eba7ec9 100644 --- a/diy-part2-x86.sh +++ b/diy-part2-x86.sh @@ -7,9 +7,6 @@ # Blog: https://p3terx.com #=============================================== -# 删除引起iproute2依赖编译报错的补丁 -[ -e package/libs/elfutils/patches/999-fix-odd-build-oot-kmod-fail.patch ] && rm -f package/libs/elfutils/patches/999-fix-odd-build-oot-kmod-fail.patch - # update ubus git HEAD cp -f $GITHUB_WORKSPACE/configfiles/ubus_Makefile package/system/ubus/Makefile @@ -32,11 +29,12 @@ CONFIG_PACKAGE_nginx-mod-luci=y CONFIG_PACKAGE_luci-nginx=y" >> .config -#集成CPU性能跑分脚本 +# 集成CPU性能跑分脚本 echo "CONFIG_PACKAGE_coremark=y" >> .config cp -f $GITHUB_WORKSPACE/configfiles/coremark/coremark.sh package/base-files/files/bin/coremark.sh chmod 755 package/base-files/files/bin/coremark.sh + # 定时限速插件 echo "CONFIG_PACKAGE_luci-app-eqosplus=y CONFIG_PACKAGE_luci-i18n-eqosplus-zh-cn=y" >> .config diff --git a/diy-part2.sh b/diy-part2.sh index adae0e3..805e091 100644 --- a/diy-part2.sh +++ b/diy-part2.sh @@ -7,9 +7,6 @@ # Blog: https://p3terx.com #=============================================== -# 删除引起iproute2依赖编译报错的补丁 -[ -e package/libs/elfutils/patches/999-fix-odd-build-oot-kmod-fail.patch ] && rm -f package/libs/elfutils/patches/999-fix-odd-build-oot-kmod-fail.patch - # enable rk3568 model adc keys cp -f $GITHUB_WORKSPACE/configfiles/adc-keys.txt adc-keys.txt ! grep -q 'adc-keys {' package/boot/uboot-rk35xx/src/arch/arm/dts/rk3568-easepi.dts && sed -i '/\"rockchip,rk3568\";/r adc-keys.txt' package/boot/uboot-rk35xx/src/arch/arm/dts/rk3568-easepi.dts @@ -74,8 +71,8 @@ chmod 755 package/base-files/files/etc/init.d/opwifi # 集成CPU性能跑分脚本 -cp -a $GITHUB_WORKSPACE/configfiles/coremark/* package/base-files/files/bin/ -chmod 755 package/base-files/files/bin/coremark +echo "CONFIG_PACKAGE_coremark=y" >> .config +cp -f $GITHUB_WORKSPACE/configfiles/coremark/coremark.sh package/base-files/files/bin/coremark.sh chmod 755 package/base-files/files/bin/coremark.sh