[openwrt/openwrt] layerscape: base-files: remove redundant RAMFS_COPY_* additions

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 8 09:34:18 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/094c37708ace9040e294c5aa7be34bc9e7a8dcc1

commit 094c37708ace9040e294c5aa7be34bc9e7a8dcc1
Author: Mathew McBride <matt at traverse.com.au>
AuthorDate: Tue Jun 27 06:37:28 2023 +0000

    layerscape: base-files: remove redundant RAMFS_COPY_* additions
    
    All the tools (e.g fw_setenv, ubiupdatevol) and config (fw_env.config)
    needed for sysupgrade are already included in /lib/upgrade/stage2
    
    Signed-off-by: Mathew McBride <matt at traverse.com.au>
---
 target/linux/layerscape/base-files/lib/upgrade/platform.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/layerscape/base-files/lib/upgrade/platform.sh b/target/linux/layerscape/base-files/lib/upgrade/platform.sh
index 0b5d14b579..8ad9df4a13 100644
--- a/target/linux/layerscape/base-files/lib/upgrade/platform.sh
+++ b/target/linux/layerscape/base-files/lib/upgrade/platform.sh
@@ -3,8 +3,8 @@
 # Copyright 2020 NXP
 #
 
-RAMFS_COPY_BIN="/usr/sbin/fw_printenv /usr/sbin/fw_setenv /usr/sbin/ubinfo /bin/echo"
-RAMFS_COPY_DATA="/etc/fw_env.config /var/lock/fw_printenv.lock"
+RAMFS_COPY_BIN=""
+RAMFS_COPY_DATA=""
 
 REQUIRE_IMAGE_METADATA=1
 




More information about the lede-commits mailing list