File tree 2 files changed +15
-1
lines changed
mock-core-configs/etc/mock/templates
releng/release-notes-next
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,16 @@ config_opts['chroot_setup_cmd'] = 'install @{% if mirrored %}buildsys-{% endif %
8
8
config_opts['dist'] = 'rawhide' # only useful for --resultdir variable subst
9
9
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
10
10
config_opts['releasever'] = '40'
11
- config_opts['package_manager'] = 'dnf'
11
+
12
+ # https://fedoraproject.org/wiki/Changes/BuildWithDNF5
13
+ config_opts['package_manager'] = 'dnf5'
14
+
12
15
config_opts['bootstrap_image'] = 'registry.fedoraproject.org/fedora:rawhide'
16
+
17
+ # For F41+ there's https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5 so
18
+ # once done, re-revert https://pagure.io/fedora-kickstarts/c/f7bf98d3af6d655c6d64ba9c8d2f88cbffbbb06d?branch=main
19
+ #config_opts['bootstrap_image_ready'] = True
20
+
13
21
config_opts['description'] = 'Fedora Rawhide'
14
22
15
23
config_opts['dnf.conf'] = """
Original file line number Diff line number Diff line change
1
+ Per the approved [Fedora 40 change](https://fedoraproject.org/wiki/Changes/BuildWithDNF5),
2
+ [we switched][PR#1256] the default `package_manager` configuration for Fedora 40
3
+ (Rawhide at that point in time) to `dnf5`. DNF5 is [the future replacement for
4
+ DNF4](https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5), aiming to be
5
+ much faster than its predecessor. Hence, the effect of this change is a
6
+ significantly faster buildroot preparation.
You can’t perform that action at this time.
0 commit comments