From c8096012718bacc1407c596b590238db0b5d217c Mon Sep 17 00:00:00 2001 From: a0575 <68583179+a0575@users.noreply.github.com> Date: Fri, 30 Sep 2022 09:08:05 +0800 Subject: [PATCH] Update patches.sh --- scripts/patches.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/scripts/patches.sh b/scripts/patches.sh index 4b27a380..9328f7a0 100644 --- a/scripts/patches.sh +++ b/scripts/patches.sh @@ -90,14 +90,8 @@ if [[ $DEVICE == 'r1s' ]]; then merge_package https://github.com/immortalwrt/immortalwrt/branches/openwrt-18.06-k5.4/package/emortal/autocore fi -#case $DEVICE in -# r2s|r2c|r1p|r1p-lts) -# #sed -i 's/5.10/5.4/g' target/linux/rockchip/Makefile -# line_number_CONFIG_CRYPTO_LIB_BLAKE2S=$[`grep -n 'CONFIG_CRYPTO_LIB_BLAKE2S' package/kernel/linux/modules/crypto.mk | cut -d: -f 1`+1] -# sed -i $line_number_CONFIG_CRYPTO_LIB_BLAKE2S' s/HIDDEN:=1/DEPENDS:=@(LINUX_5_4||LINUX_5_10)/' package/kernel/linux/modules/crypto.mk -# sed -i 's/libblake2s.ko@lt5.9/libblake2s.ko/;s/libblake2s-generic.ko@lt5.9/libblake2s-generic.ko/' package/kernel/linux/modules/crypto.mk -# ;; -#esac - sed -i "s/KERNEL_PATCHVER:=*.*/KERNEL_PATCHVER:=5.19/g" target/linux/rockchip/Makefile sed -i "s/KERNEL_PATCHVER=*.*/KERNEL_PATCHVER=5.19/g" target/linux/rockchip/Makefile + +sed -i 's/kmod-usb-net-rtl8152/kmod-usb-net-rtl8152-vendor/' target/linux/rockchip/image/armv8.mk target/linux/sunxi/image/cortexa53.mk target/linux/sunxi/image/cortexa7.mk +sed -i 's/5de8c8e29aaa3fb9cc6b47bb27299f271354ebb72514e3accadc7d38b5bbaa72/9625784cf2e4fd9842f1d407681ce4878b5b0dcddbcd31c6135114a30c71e6a8/' package/feeds/packages/jq/Makefile