mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
desktop_login: handle backgrounds in WebP format
...which we just started doing. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
59c52453fe
commit
5592e2ac93
@ -179,7 +179,11 @@ sub run {
|
||||
$self->root_console(tty => 3);
|
||||
assert_script_run "dnf -y install GraphicsMagick", 300;
|
||||
assert_script_run "gm convert -size 1024x768 xc:black /usr/share/backgrounds/black.png";
|
||||
assert_script_run 'for i in /usr/share/backgrounds/f*/default/*.png; do ln -sf /usr/share/backgrounds/black.png $i; done';
|
||||
assert_script_run "gm convert -size 1024x768 xc:black /usr/share/backgrounds/black.webp";
|
||||
if (script_run 'for i in /usr/share/backgrounds/f*/default/*.png; do ln -sf /usr/share/backgrounds/black.png $i; done') {
|
||||
# if that failed, they're probably in webp format
|
||||
assert_script_run 'for i in /usr/share/backgrounds/f*/default/*.webp; do ln -sf /usr/share/backgrounds/black.webp $i; done'
|
||||
}
|
||||
if ($desktop eq "kde") {
|
||||
# use solid blue background for SDDM
|
||||
assert_script_run "sed -i -e 's,image,solid,g' /usr/share/sddm/themes/01-breeze-fedora/theme.conf.user";
|
||||
|
Loading…
Reference in New Issue
Block a user