Skip to content

Commit

Permalink
rpmbuild: don't set bootstrap_image_ready for rawhide
Browse files Browse the repository at this point in the history
Fix #3140
  • Loading branch information
FrostyX committed Feb 19, 2024
1 parent c5773a8 commit 1b06675
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpmbuild/mock-custom-build.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ include('/etc/mock/{{ chroot }}.cfg')
config_opts['rpmbuild_networking'] = True
config_opts['use_host_resolv'] = True

{# See https://github.com/fedora-copr/copr/issues/3140 #}
{%- if not chroot.startswith("fedora-40-") %}
# We don't do 'dnf builddep' for the custom method, so we don't need to install
# python3-dnf-plugins core or dnf5-plugins at all.
config_opts["bootstrap_image_ready"] = True
{% endif %}

# Don't mixup caches with the normal mock build.
config_opts["root"] = "copr-custom-" + config_opts["root"]
Expand Down

0 comments on commit 1b06675

Please sign in to comment.