From 5374885f241b12f983fc6dfb3daad3dcd3687912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Mon, 26 Oct 2020 11:56:29 +0100 Subject: [PATCH] Make subvariant of armhfp appliances unique MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When not specified, subvariant defaults to the variant. This leads to both armhfp appliance and image_build based raw.xz image to have identical metadata. A file with such issue can not be loaded by productmd parser. Due to another issue (that should be fixed in next Pungi release), the paths to image directories are not listed in composeinfo.json file. The compose-partial-copy script therefore has to find out if images should be copied from the image metadata. And since there's an error in it, it doesn't see the images and doesn't copy them. Signed-off-by: Lubomír Sedlář --- fedora.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fedora.conf b/fedora.conf index e9104b8..9736418 100644 --- a/fedora.conf +++ b/fedora.conf @@ -679,6 +679,7 @@ live_images = [ 'repo': 'Everything', 'type': 'appliance', 'failable': True, + 'subvariant': 'Workstation_Appliance', } }), ('^Server$', { @@ -687,6 +688,7 @@ live_images = [ 'name': 'Fedora-Server-armhfp', 'type': 'appliance', 'failable': True, + 'subvariant': 'Workstation_Appliance', } }), ('^Spins$', { @@ -719,7 +721,7 @@ live_images = [ 'name': 'Fedora-Minimal-armhfp', 'repo': 'Everything', 'type': 'appliance', - 'subvariant': 'Minimal', + 'subvariant': 'Minimal_Appliance', 'failable': False, }, {