[source] mvebu: fix sysupgrade for Linksys WRT3200ACM
LEDE Commits
lede-commits at lists.infradead.org
Sat Dec 3 23:26:12 PST 2016
mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/62e4c915ee867b5c3610fcc150d3a6bf90cbb130
commit 62e4c915ee867b5c3610fcc150d3a6bf90cbb130
Author: Vignesh Balasubramaniam <vigneshb.hp at gmail.com>
AuthorDate: Tue Nov 29 12:53:13 2016 -0500
mvebu: fix sysupgrade for Linksys WRT3200ACM
sysupgrade command fails due to missing U-Boot environment-processing
binaries on sysupgrade ramdisk. The missing binaries result in the
following output:
Switching to ramdisk...
Performing system upgrade...
ash: /usr/sbin/fw_printenv: not found
ash: fw_setenv: not found
ash: touch: not found
cannot find target partition
Signed-off-by: Vignesh Balasubramaniam <vigneshb.hp at gmail.com>
---
target/linux/mvebu/base-files/lib/upgrade/linksys.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/mvebu/base-files/lib/upgrade/linksys.sh b/target/linux/mvebu/base-files/lib/upgrade/linksys.sh
index d12c32b..d06a1b8 100644
--- a/target/linux/mvebu/base-files/lib/upgrade/linksys.sh
+++ b/target/linux/mvebu/base-files/lib/upgrade/linksys.sh
@@ -77,7 +77,7 @@ linksys_preupgrade() {
local board=$(mvebu_board_name)
case "$board" in
- armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-shelby|armada-xp-linksys-mamba)
+ armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-shelby|armada-xp-linksys-mamba|armada-385-linksys-rango)
export RAMFS_COPY_BIN="${RAMFS_COPY_BIN} /usr/sbin/fw_printenv /usr/sbin/fw_setenv"
export RAMFS_COPY_BIN="${RAMFS_COPY_BIN} /bin/mkdir /bin/touch"
export RAMFS_COPY_DATA="${RAMFS_COPY_DATA} /etc/fw_env.config /var/lock/fw_printenv.lock"
More information about the lede-commits
mailing list