Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configs: Fedora 41+ configuration images are "dnf5 ready" #1398

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/fedora-branched.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['package_manager'] = '{% if releasever|int >= 40 %}dnf5{% else %}dnf{% endif %}'

config_opts['bootstrap_image'] = 'registry.fedoraproject.org/fedora:{{ releasever }}'
config_opts['bootstrap_image_ready'] = int(config_opts['releasever']) >= 41

config_opts['dnf.conf'] = """
[main]
Expand Down
5 changes: 1 addition & 4 deletions mock-core-configs/etc/mock/templates/fedora-rawhide.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ config_opts['releasever'] = '41'
config_opts['package_manager'] = 'dnf5'

config_opts['bootstrap_image'] = 'registry.fedoraproject.org/fedora:rawhide'

# For F41+ there's https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5 so
# once done, re-revert https://pagure.io/fedora-kickstarts/c/f7bf98d3af6d655c6d64ba9c8d2f88cbffbbb06d?branch=main
#config_opts['bootstrap_image_ready'] = True
config_opts['bootstrap_image_ready'] = True

config_opts['description'] = 'Fedora Rawhide'

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The Fedora Rawhide configuration (F41+) has been updated to use the
`bootstrap_image_ready = True` configuration. The default container images are
[already shipped with the `dnf5-plugins` package](https://pagure.io/fedora-kiwi-descriptions/pull-request/63).

This means we use the container image "as is" to bootstrap the DNF5 stack
without installing any additional packages into the prepared bootstrap chroot.
Consequently, the bootstrap preparation is much faster (bootstrap preparation
basically equals the image download, if not pre-downloaded, and its
"extraction").
Loading