mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 14:41:27 +00:00
Workaround #1704488 in the live image build test
Odd bug which breaks mock until you reboot or restart dbus-broker. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
9389acf4b0
commit
f4c3c4c2cd
@ -14,6 +14,8 @@ sub run {
|
||||
assert_script_run "setenforce Permissive";
|
||||
# install the tools we need
|
||||
assert_script_run "dnf -y install mock git pykickstart tar", 120;
|
||||
# FIXME workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1704488
|
||||
assert_script_run "systemctl restart dbus-broker" if ($version > 29);
|
||||
# make the update/task repo and the serial device available inside the mock root
|
||||
assert_script_run 'echo "config_opts[\'plugin_conf\'][\'bind_mount_enable\'] = True" > /etc/mock/openqa.cfg';
|
||||
assert_script_run 'echo "config_opts[\'plugin_conf\'][\'bind_mount_opts\'][\'dirs\'].append((\'/opt/update_repo\', \'/opt/update_repo\'))" >> /etc/mock/openqa.cfg';
|
||||
|
Loading…
Reference in New Issue
Block a user