commit | f076904d6efef60a08701bb2cfb3300608d23335 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Wed Apr 27 09:16:54 2022 +0800 |
committer | developer <developer@mediatek.com> | Wed Apr 27 10:29:45 2022 +0800 |
tree | a7d99607d34b023a8e4001b430d4bbc11e15493a | |
parent | 3f431788f6d7c1683b692fbd4ad61568acfcd846 [diff] |
[][OpenWrt Dev][Add release-specific package overriding] [Description] Add release-specific package overriding to solve patching failure due to different package versions for different oprnwrt releases. [Release-log] N/A Change-Id: I6785bfe0ebc59e598ee4fbf225e3ecb3442e6894 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/5902796
diff --git a/package/boot/uboot-envtools/files/mediatek b/package-21.02/boot/uboot-envtools/files/mediatek similarity index 100% rename from package/boot/uboot-envtools/files/mediatek rename to package-21.02/boot/uboot-envtools/files/mediatek
diff --git a/package/system/fstools/patches/0001-add-support-for-dual-boot.patch b/package-21.02/system/fstools/patches/0001-add-support-for-dual-boot.patch similarity index 100% rename from package/system/fstools/patches/0001-add-support-for-dual-boot.patch rename to package-21.02/system/fstools/patches/0001-add-support-for-dual-boot.patch
diff --git a/prepare_sdk.sh b/prepare_sdk.sh index 7a3dd67..ab555dc 100755 --- a/prepare_sdk.sh +++ b/prepare_sdk.sh
@@ -32,7 +32,7 @@ sdk_patch #cp mtk target to OpenWRT cp -fpR ${MTK_FEEDS_DIR}/target ./ -cp -fpR ${MTK_FEEDS_DIR}/package ./ +cp -fpR ${MTK_FEEDS_DIR}/package${OPENWRT_VER}/* ./package cp -fpR ${MTK_FEEDS_DIR}/tools ./ #remove patch if choose to not "keep" patch if [ -z ${2} ]; then