From c3738f3af1043a0a0c292a80640cb63ceba35cd0 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Aug 23 2024 15:43:19 +0000 Subject: Try to fix kiwibuild_bundle_name_format The idea here is for global_version to be substituted when the config file is read, then the remaining string passed through to kiwi for use as a template. I believe this config file is read through `kobo.conf.PyConfigParser` and so this should work, as it claims to support format strings in this way. Signed-off-by: Adam Williamson --- diff --git a/fedora.conf b/fedora.conf index 26d5984..8a27876 100644 --- a/fedora.conf +++ b/fedora.conf @@ -208,7 +208,9 @@ kiwibuild_target = 'f42-kiwi' # kiwi image global configuration kiwibuild_description_scm = 'git+https://pagure.io/fedora-kiwi-descriptions.git?#HEAD' kiwibuild_description_path = 'Fedora.kiwi' -kiwibuild_bundle_name_format = '%N-%P-%(global_version)s-%I.%A.%T' +# global_version is substituted by kobo as part of reading of this +# config file, the other specifiers are passed through to kiwi +kiwibuild_bundle_name_format = '%%N-%%P-%s-%%I.%%A.%%T' % global_version image_build = {