From 95b9d35511829aa174b3c4ea9fbec7181ea45260 Mon Sep 17 00:00:00 2001 From: Katerina Koukiou Date: Tue, 22 Oct 2024 14:59:46 +0200 Subject: [PATCH] Nasty workaround for firefox crashing on boot.iso Do not start firefox in the VM for remote installations. So far remote installations are used only for testing. Let's abuse this and switch firefox instance in the VM with a plain sleep, to avoid the crash. [1] [1] https://bugzilla.redhat.com/show_bug.cgi?id=2320964 --- webui-desktop | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/webui-desktop b/webui-desktop index 1acdd09f6e..35ff00aecc 100755 --- a/webui-desktop +++ b/webui-desktop @@ -122,7 +122,14 @@ else sleep 3 fi -HOME="$BROWSER_HOME" MOZ_APP_TITLE="" MOZ_APP_REMOTINGNAME="liveinst" XDG_CURRENT_DESKTOP=GNOME MOZ_GTK_TITLEBAR_DECORATION=client $BROWSER http://"$WEBUI_ADDRESS""$URL_PATH" & -B_PID=$! +# FIXME: https://bugzilla.redhat.com/show_bug.cgi?id=2320964 +# This is a workaround for firefox crashing the whole test run in our CI +if [[ "$WEBUI_REMOTE" == "1" ]] +then + /bin/sleep infinity & + B_PID=$! +else + HOME="$BROWSER_HOME" MOZ_APP_TITLE="" MOZ_APP_REMOTINGNAME="liveinst" XDG_CURRENT_DESKTOP=GNOME MOZ_GTK_TITLEBAR_DECORATION=client $BROWSER http://"$WEBUI_ADDRESS""$URL_PATH" & + B_PID=$! wait $B_PID