image: strip metadata from images when used in other artifacts
authorDaniel Golle <daniel@makrotopia.org>
Fri, 15 Apr 2022 12:25:41 +0000 (13:25 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 15 Apr 2022 12:42:01 +0000 (13:42 +0100)
commit7a256d97d9ded84d1bfd531e775099774e7b6b06
treeea02e07ab526a12b9bc6d50ee86c267d5d4f25e1
parent8084ec8061ef04df9a9231a660ada0a52f427b5f
image: strip metadata from images when used in other artifacts

Image metadata and signature is of no use for images which are included
inside other artifacts (like an SD-card image). Strip them off before
using images in artifacts or stashing them for the ImageBuilder as the
contained signature breaks reproducibility.

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