From 4d98156bda0661bbd614babf67f40da38c1f0664 Mon Sep 17 00:00:00 2001 From: John Doe Date: Thu, 5 May 2022 06:49:40 +0800 Subject: [PATCH] build: enabl 8156 --- common.seed | 3 ++- scripts/patches.sh | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/common.seed b/common.seed index 2242671..da5a860 100644 --- a/common.seed +++ b/common.seed @@ -88,7 +88,8 @@ CONFIG_PACKAGE_kmod-fast-classifier=y CONFIG_PACKAGE_kmod-ipt-offload=y CONFIG_PACKAGE_kmod-pppol2tp=y CONFIG_PACKAGE_kmod-tcp-bbr=y -CONFIG_PACKAGE_kmod-usb-net-rtl8152=y +# CONFIG_PACKAGE_kmod-usb-net-rtl8152 is not set +CONFIG_PACKAGE_kmod-usb-net-rtl8152-vendor=y CONFIG_PACKAGE_losetup=y CONFIG_PACKAGE_openssh-sftp-server=y CONFIG_PACKAGE_pv=y diff --git a/scripts/patches.sh b/scripts/patches.sh index ac4e2b4..ee0f322 100644 --- a/scripts/patches.sh +++ b/scripts/patches.sh @@ -91,4 +91,8 @@ if [[ $DEVICE == 'r1s' ]]; then merge_package https://github.com/immortalwrt/immortalwrt/branches/openwrt-18.06-k5.4/package/emortal/autocore elif [[ $DEVICE == 'r2s' || $DEVICE == 'r2c' || $DEVICE == 'r1p' || $DEVICE == 'r1p-lts' ]]; then sed -i 's/5.15/5.4/g' target/linux/rockchip/Makefile -fi \ No newline at end of file +fi + +# ... +git revert d15af9ff7c534853695a52bb94f07beb4ffec02a +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 \ No newline at end of file