base-files: sysupgrade: fix handing 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:25:40 +0000 (19:25 +0200)
commit3b6f865b011efd025e867bd2a7bb1f880b5d58e0
treeb2622a56bc8f1020aae58a36f193a4a77bec65ee
parentc22117a7910b26ca095e7c58931904f2a9c2080f
base-files: sysupgrade: fix handing 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