Skip to content

Commit

Permalink
configs: BuildWithDNF5 for ELN
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Jan 19, 2024
1 parent 4b3fb22 commit 725827a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions mock-core-configs/etc/mock/templates/fedora-eln.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,24 @@ config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils f

config_opts['dist'] = 'eln' # only useful for --resultdir variable subst
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['package_manager'] = 'dnf'

# https://fedoraproject.org/wiki/Changes/BuildWithDNF5
# https://pagure.io/releng/issue/11895
config_opts['package_manager'] = 'dnf5'

# Per https://github.com/fedora-eln/eln/issues/164 updated up to 4 times a day.
# Docs: https://docs.fedoraproject.org/en-US/eln/deliverables/#_container_image
config_opts['bootstrap_image'] = 'quay.io/fedoraci/fedora:eln'
# Per https://github.com/fedora-eln/eln/issues/166
config_opts['bootstrap_image_ready'] = True

# Used to be True per https://github.com/fedora-eln/eln/issues/166 but with
# the 'dnf5' we are switching to False, reobserve after
# https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5 applied to ELN!
config_opts['bootstrap_image_ready'] = False

config_opts['dnf.conf'] = """
[main]
keepcache=1
system_cachedir=/var/cache/dnf
debuglevel=2
reposdir=/dev/null
logfile=/var/log/yum.log
Expand Down

0 comments on commit 725827a

Please sign in to comment.