From 15cb19f02a8c7fdcdb87b068cf098a2c03e39fce Mon Sep 17 00:00:00 2001 From: Aaron Curley Date: Sun, 2 Oct 2016 13:15:25 -0700 Subject: [PATCH] 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 --- target/linux/mvebu/base-files/lib/upgrade/linksys.sh | 2 ++ 1 file changed, 2 insertions(+) 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 +