mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
copr: backend: provisioning hacks to make bootstrap chroot work
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user