aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/target-metadata.pl
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 /scripts/target-metadata.pl
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 'scripts/target-metadata.pl')
-rwxr-xr-xscripts/target-metadata.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/target-metadata.pl b/scripts/target-metadata.pl
index ef0a34eb4f..2f045eb379 100755
--- a/scripts/target-metadata.pl
+++ b/scripts/target-metadata.pl
@@ -422,6 +422,7 @@ sub gen_profile_mk() {
print "PROFILE_NAMES = ".join(" ", map { $_->{id} } @{$cur->{profiles}})."\n";
foreach my $profile (@{$cur->{profiles}}) {
print $profile->{id}.'_NAME:='.$profile->{name}."\n";
+ print $profile->{id}.'_HAS_IMAGE_METADATA:='.$profile->{has_image_metadata}."\n";
print $profile->{id}.'_PACKAGES:='.join(' ', @{$profile->{packages}})."\n";
}
}