image: use portable filename in 'append-image-stage'
authorDaniel Golle <daniel@makrotopia.org>
Sat, 24 Apr 2021 11:12:09 +0000 (12:12 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 24 Apr 2021 11:19:06 +0000 (12:19 +0100)
commitc7a5a093efd0725ef170c6dacd414044020233d9
treee327ca6c9894a29f7d862af2cf1dc59a60870c23
parent210916c9e6797e4e520970bafba12e49e98dc834
image: use portable filename in 'append-image-stage'

The 'append-image-stage' command doesn't work when setting the
EXTRA_IMAGE_NAME option of the ImageBuilder as in that case
DEVICE_IMG_PREFIX is modified and no longer matches the value it had in
buildroot. Choose a filename independent of DEVICE_IMG_PREFIX for
images staged using 'append-image-stage' to fix that.

Fixes: de4b29dab9 ("image: introduce 'append-image-stage' build command")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
include/image-commands.mk