mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 02:22:33 +08:00
koji_builder / buildhw-a64: try and get core dumps another way
We tried to override the machine scope, but that didn't work in this case, so instead lets tell mock to pass a new core limit to systemd-nspawn and see if that gets us cores. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -13,6 +13,10 @@ config_opts['dnf_warning'] = False
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2123812
|
||||
config_opts['nspawn_args'] += ['--capability=cap_mac_admin']
|
||||
{% endif %}
|
||||
{% if ansible_hostname.startswith(('buildhw-a64')) %}
|
||||
# enable core dumps on aarch64 buildhw so we can track down a bug
|
||||
config_opts['nspawn_args'] += ['--rlimit=RLIMIT_CORE=infinity']
|
||||
{% endif %}
|
||||
config_opts['dnf_command'] = '/usr/bin/dnf-3'
|
||||
config_opts['system_dnf_command'] = '/usr/bin/dnf-3'
|
||||
config_opts['dnf_install_command'] = 'install python3-dnf dnf-plugins-core'
|
||||
|
||||
Reference in New Issue
Block a user