auc: fall back to 'sdcard' image
authorDaniel Golle <daniel@makrotopia.org>
Mon, 14 Feb 2022 14:24:21 +0000 (14:24 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 14 Mar 2022 21:29:50 +0000 (21:29 +0000)
commit31e2e7ccb8f9971464f2e638e7d4eaf53753ef5f
treedc184ddbcac5c237f122bdd65282b0c5d4f89e12
parent8999b60db9d8ac3725be033a83015d4a20e2b475
auc: fall back to 'sdcard' image

Fallback to use 'sdcard' image in case there is neither 'sysupgrade'
nor 'combined' image available.
This allows using 'auc' on targets where 'sdcard' image is also used
for sysupgrade (such as some mvebu-based devices with eMMC).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 6b041752a00d125a4e651aa56f6abae0e06a59b6)
utils/auc/src/auc.c