base-files: sysupgrade: fix handling get_image unpack commands
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sun, 10 Jun 2018 13:41:52 +0000 (15:41 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 11 Jun 2018 17:26:34 +0000 (19:26 +0200)
commite6c17aa21912da9b988b57b75e50228eb7e84115
treeee4c6e60226836099e840f3f7ec38688205f0927
parentf18f08d9c8af8f67f07ea627f65cc2215cbc2c42
base-files: sysupgrade: fix handling get_image unpack commands

On bcm53xx and brcm47xx, commands are passed to default_do_upgrade that
expect the image to be passed on stdin, rather than as an argument.

Fixes: 30f61a34b4cf ("base-files: always use staged sysupgrade")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
package/base-files/files/lib/upgrade/common.sh