copr: backend: provisioning hacks to make bootstrap chroot work
This commit is contained in:
parent
6cae0779ee
commit
00a07f94e4
2 changed files with 5 additions and 0 deletions
|
@ -29,4 +29,5 @@ config_opts['plugin_conf']['chroot_scan_opts'] = {
|
||||||
'only_failed': False,
|
'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'
|
config_opts['yum_install_command'] = 'install yum yum-utils shadow-utils distribution-gpg-keys elfutils-libelf'
|
||||||
|
|
|
@ -94,3 +94,7 @@
|
||||||
name: dnf-makecache.service
|
name: dnf-makecache.service
|
||||||
state: stopped
|
state: stopped
|
||||||
enabled: no
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue