aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Curley <accwebs@gmail.com>2016-10-02 13:15:25 -0700
committerJohn Crispin <john@phrozen.org>2016-10-04 11:50:48 +0200
commit15cb19f02a8c7fdcdb87b068cf098a2c03e39fce (patch)
treeee9bbfaf1e5cda5e4d1daad4f044795c54a63561
parent5a8a986dd5808555567fd5791f05cf2ae504aa42 (diff)
downloadupstream-15cb19f02a8c7fdcdb87b068cf098a2c03e39fce.tar.gz
upstream-15cb19f02a8c7fdcdb87b068cf098a2c03e39fce.tar.bz2
upstream-15cb19f02a8c7fdcdb87b068cf098a2c03e39fce.zip
mvebu: fix sysupgrade
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 Fixes FS#197. Signed-off-by: Aaron Curley <accwebs@gmail.com>
-rw-r--r--target/linux/mvebu/base-files/lib/upgrade/linksys.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/mvebu/base-files/lib/upgrade/linksys.sh b/target/linux/mvebu/base-files/lib/upgrade/linksys.sh
index baa29dc335..d12c32b7fa 100644
--- a/target/linux/mvebu/base-files/lib/upgrade/linksys.sh
+++ b/target/linux/mvebu/base-files/lib/upgrade/linksys.sh
@@ -89,3 +89,5 @@ linksys_preupgrade() {
esac
}
+append sysupgrade_pre_upgrade linksys_preupgrade
+