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 May 14, 2024
1 parent a2209bb commit b771d95
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 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,22 @@ 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

# https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5 applied to ELN!
config_opts['bootstrap_image_ready'] = True

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 b771d95

Please sign in to comment.