commit | a2c52f54b58508603d6f59b9e765f9abc4e602b0 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Fri Feb 18 09:49:01 2022 +0800 |
committer | developer <developer@mediatek.com> | Fri Feb 18 09:58:38 2022 +0800 |
tree | b3de5ae160f8b1be23eccda0332b3c8e6252e99c | |
parent | 8d547d6f0ae704ad453698a713bb18ed9069bc46 [diff] |
[][MAC80211][app][Rename smp-mac80211.sh to smp-mt76.sh] [Description] Fix build fail with internal proprietary tarball Collected errors: * check_data_file_clashes: Package mtk-base-files wants to install file /export/ac5329/openwrt/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/sbin/smp-mac80211.sh But that file is already provided by package * base-files * opkg_install_cmd: Cannot install package mtk-base-files. [Release-log] N/A Change-Id: I9134128f3462ad422a17e0390b775af2c236d4d1 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/5636416
diff --git a/openwrt_patches-21.02/106-00-sysctl-add-smp-script.patch b/openwrt_patches-21.02/106-00-sysctl-add-smp-script.patch index 168e849..35cb20e 100644 --- a/openwrt_patches-21.02/106-00-sysctl-add-smp-script.patch +++ b/openwrt_patches-21.02/106-00-sysctl-add-smp-script.patch
@@ -37,7 +37,7 @@ + is_mac80211=$(module_exist "mt76") + + if [ "$is_mac80211" = "1" ]; then -+ [ -f /sbin/smp-mac80211.sh ] && /sbin/smp-mac80211.sh ++ [ -f /sbin/smp-mt76.sh ] && /sbin/smp-mt76.sh + else + [ -f /sbin/smp.sh ] && /sbin/smp.sh + fi
diff --git a/target/linux/mediatek/base-files/sbin/smp-mac80211.sh b/target/linux/mediatek/base-files/sbin/smp-mt76.sh similarity index 100% rename from target/linux/mediatek/base-files/sbin/smp-mac80211.sh rename to target/linux/mediatek/base-files/sbin/smp-mt76.sh