[openwrt/openwrt] mediatek: mt7622: drop RAMFS_COPY_BIN and RAMFS_COPY_DATA

LEDE Commits lede-commits at lists.infradead.org
Tue Feb 22 11:16:38 PST 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/bb9043031a94dc961b749a97058413e98b2e9f65

commit bb9043031a94dc961b749a97058413e98b2e9f65
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Tue Feb 22 18:50:25 2022 +0000

    mediatek: mt7622: drop RAMFS_COPY_BIN and RAMFS_COPY_DATA
    
    Now that both, fw_printenv/fw_setenv and fwtool are always present
    during stage2 sysupgrade, we no longer need to list them in
    RAMFS_COPY_BIN and RAMFS_COPY_DATA in platform.sh.
    Drop both variables as they are now unneeded.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh b/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
index bd86a92c7b..fbca6ef0f7 100755
--- a/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
@@ -1,6 +1,4 @@
 REQUIRE_IMAGE_METADATA=1
-RAMFS_COPY_BIN='fw_printenv fw_setenv fwtool'
-RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock'
 
 platform_do_upgrade() {
 	local board=$(board_name)



More information about the lede-commits mailing list