#1833 Add setting use_buildroot_repo bool to kiwi builds
Closed: Fixed by lsedlar. Opened by kevin.

koji added a 'use_buildroot_repo' option to the kiwiBuild method to decide if images should use the buildroot repo to install packages from or not.

The default is True.

However, we want to set this False.

I think it should be possible for pungi to have an option for this and pass it to koji to doing the kiwiBuild tasks.


PR #1834 adds the option to customize the option.

Is Fedora using a patched koji to change the default? koji list-api | grep kiwi suggests so.

Yes. The only way we have to set it to false is to change the default. ;(

ie

diff --color -Nur koji-1.34.1.orig/plugins/hub/kiwi.py koji-1.34.1/plugins/hub/kiwi.py
--- koji-1.34.1.orig/plugins/hub/kiwi.py        2024-09-12 13:52:57.631212839 -0700
+++ koji-1.34.1/plugins/hub/kiwi.py     2024-09-12 13:54:15.472971281 -0700
@@ -17,7 +17,7 @@
 @export
 def kiwiBuild(target, arches, desc_url, desc_path, optional_arches=None, profile=None,
               scratch=False, priority=None, make_prep=False, repos=None, release=None,
-              type=None, type_attr=None, result_bundle_name_format=None, use_buildroot_repo=True,
+              type=None, type_attr=None, result_bundle_name_format=None, use_buildroot_repo=False,
               version=None, repo_releasever=None):
     context.session.assertPerm('image')
     for i in [desc_url, desc_path, profile, version, release, repo_releasever]:

Commit d91adfd3 fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/pungi/pungi/issues/1833

Please continue any further discussion there.

Metadata
Related Pull Requests