mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-29 09:03:08 +00:00
desktop_login: disable automatic updating
Otherwise, if there's an update to fXX-backgrounds pending, we'll get it on reboot in the middle of the test, and the real backgrounds will comes back and replace our black fake ones and break the test. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
50db12402c
commit
9be26becc5
@ -197,6 +197,9 @@ sub run {
|
|||||||
if ($desktop eq "gnome") {
|
if ($desktop eq "gnome") {
|
||||||
# suppress the Welcome Tour for new users in GNOME 40+
|
# suppress the Welcome Tour for new users in GNOME 40+
|
||||||
assert_script_run 'printf "[org.gnome.shell]\nwelcome-dialog-last-shown-version=\'4294967295\'\n" > /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override';
|
assert_script_run 'printf "[org.gnome.shell]\nwelcome-dialog-last-shown-version=\'4294967295\'\n" > /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override';
|
||||||
|
# Disable automatic update installation (so we don't install an update
|
||||||
|
# to fXX-backgrounds and put the 'real' image back when we reboot)
|
||||||
|
assert_script_run 'printf "[org.gnome.software]\ndownload-updates=false\n" > /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override';
|
||||||
assert_script_run 'glib-compile-schemas /usr/share/glib-2.0/schemas';
|
assert_script_run 'glib-compile-schemas /usr/share/glib-2.0/schemas';
|
||||||
# In Gnome, we can create a passwordless user that can provide his password upon
|
# In Gnome, we can create a passwordless user that can provide his password upon
|
||||||
# the first login. So we can create the second user in this way to test this feature
|
# the first login. So we can create the second user in this way to test this feature
|
||||||
|
Loading…
Reference in New Issue
Block a user