aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2019-03-06 14:45:15 +0100
committerDaniel Golle <daniel@makrotopia.org>2019-03-06 14:50:42 +0100
commit13c379e5c6e37b3822bf6e4e18cc6317e5b40fbb (patch)
tree0619e7718e4a1dfee2c86007c42cf3ebc2614d83 /include
parentc8778250a91d691a274d2070dc25827325e3f090 (diff)
downloadupstream-13c379e5c6e37b3822bf6e4e18cc6317e5b40fbb.tar.gz
upstream-13c379e5c6e37b3822bf6e4e18cc6317e5b40fbb.tar.bz2
upstream-13c379e5c6e37b3822bf6e4e18cc6317e5b40fbb.zip
ib: display whether profile comes with image metadata
Having image metadata (and signature) appended is a condition for semi-automated sysupgrade, hence IB needs to be able to tell which images will end up with metadata. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'include')
-rw-r--r--include/image.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index 5268f0bdb7..62e3af9e4f 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -557,6 +557,7 @@ define Device/DumpInfo
Target-Profile: DEVICE_$(1)
Target-Profile-Name: $(DEVICE_TITLE)
Target-Profile-Packages: $(DEVICE_PACKAGES)
+Target-Profile-hasImageMetadata: $(if $(foreach image,$(IMAGES),$(findstring append-metadata,$(IMAGE/$(image)))),1,0)
Target-Profile-Description:
$(DEVICE_DESCRIPTION)
@@