mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-12-01 05:16:00 +00:00
desktop_update_graphical: mask fwupd again, but only on GNOME
Sigh. So we stopped masking fwupd becuase it caused Discover to blow up, but now I remember why we started doing it in the first place: fwupd can cause another 'type' of update to appear in GNOME Software, with an identical "Restart & Update" button, which openQA will happily click on instead of the one for "System Updates" which we *want* it to click on. See https://openqa.fedoraproject.org/tests/3880370#step/desktop_update_graphical/36 So...let's go back to masking fwupd, but only on GNOME. This should make everyone happy. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
31c07c0f02
commit
8286da9140
@ -17,6 +17,13 @@ sub run {
|
||||
if (get_var("BUILDROOT_REPO")) {
|
||||
assert_script_run 'sed -i -e "s,enabled=1,enabled=0,g" /etc/yum.repos.d/buildroot.repo';
|
||||
}
|
||||
# fwupd can cause openQA to click the wrong "Restart & Update"
|
||||
# button in GNOME Software when some kind of firmware-ish
|
||||
# update is available, so let's mask it
|
||||
if ($desktop eq 'gnome') {
|
||||
script_run "systemctl stop fwupd.service";
|
||||
script_run "systemctl mask fwupd.service";
|
||||
}
|
||||
prepare_test_packages;
|
||||
# get back to the desktop
|
||||
desktop_vt;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user