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:
Kevin Fenzi 2023-11-14 10:53:53 -08:00
parent f76ff54b1f
commit 292db92153

View file

@ -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'