image: introduce 'append-image-stage' build command
authorDaniel Golle <daniel@makrotopia.org>
Fri, 23 Apr 2021 22:05:54 +0000 (23:05 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 23 Apr 2021 22:16:49 +0000 (23:16 +0100)
commitde4b29dab987c5c1288558c3ca7e1edcd95920e0
tree50bb1d7f392f6343638bc1dab8ff0d1b59aa14db
parent95ac3f82c6914505b01b01ab819e02d091835598
image: introduce 'append-image-stage' build command

Similar to 'append-image' this new command appends an existing binary.
'append-image-stage' also makes a copy of that binary and keeps it in
$(STAGING_DIR_IMAGE). When called from within the ImageBuilder, this
copy is used instead of expecting the binary to be present.
This is useful for artifacts which include the initramfs/recovery image
which is usually not included in the ImageBuilder.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
include/image-commands.mk