copr: backend: provisioning hacks to make bootstrap chroot work

This commit is contained in:
Pavel Raiskup 2019-05-28 06:33:29 +02:00
parent 6cae0779ee
commit 00a07f94e4
2 changed files with 5 additions and 0 deletions

View file

@ -29,4 +29,5 @@ config_opts['plugin_conf']['chroot_scan_opts'] = {
'only_failed': False,
}
# hack: dnf would install elfutils-libelf from DTS, and that would break the transaction
config_opts['yum_install_command'] = 'install yum yum-utils shadow-utils distribution-gpg-keys elfutils-libelf'

View file

@ -94,3 +94,7 @@
name: dnf-makecache.service
state: stopped
enabled: no
- name: "hack, nudge dns resolution in chroot (otherwise first attempt fails, rhbz 1710699)"
shell: "mock -r fedora-rawhide-x86_64 --bootstrap-chroot --init || :"
when: not prepare_base_image