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

LEDE Commits lede-commits at lists.infradead.org
Wed Jul 26 04:38:47 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/6a89cfa418ee746a590e7c6d746e7317dd58e830

commit 6a89cfa418ee746a590e7c6d746e7317dd58e830
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>
    (cherry picked from commit 094c37708ace9040e294c5aa7be34bc9e7a8dcc1)
---
 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