diff options
author | Aaron Curley <accwebs@gmail.com> | 2016-10-02 13:15:25 -0700 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-10-04 11:50:48 +0200 |
commit | 15cb19f02a8c7fdcdb87b068cf098a2c03e39fce (patch) | |
tree | ee9bbfaf1e5cda5e4d1daad4f044795c54a63561 /target/linux/mvebu/base-files/lib/upgrade | |
parent | 5a8a986dd5808555567fd5791f05cf2ae504aa42 (diff) | |
download | mtk-20170518-15cb19f02a8c7fdcdb87b068cf098a2c03e39fce.zip mtk-20170518-15cb19f02a8c7fdcdb87b068cf098a2c03e39fce.tar.gz mtk-20170518-15cb19f02a8c7fdcdb87b068cf098a2c03e39fce.tar.bz2 |
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>
Diffstat (limited to 'target/linux/mvebu/base-files/lib/upgrade')
-rw-r--r-- | target/linux/mvebu/base-files/lib/upgrade/linksys.sh | 2 |
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 baa29dc..d12c32b 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 + |