From: Aaron Curley Date: Sun, 2 Oct 2016 20:15:25 +0000 (-0700) Subject: mvebu: fix sysupgrade X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=15cb19f02a8c7fdcdb87b068cf098a2c03e39fce;p=openwrt%2Fstaging%2Fluka.git 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 --- 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 +