From 5e3f39209daf2e1575d9becd116c6aafddf1cb60 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 4 Jan 2024 15:01:15 -0800 Subject: [PATCH] Workaround KDE kickstart referencing new comps group This breaks things until a compose has happened and comps data with the new group in it is actually out there in the repos. So we need to hack it back out again till a compose goes through. Signed-off-by: Adam Williamson --- tests/_live_build.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/_live_build.pm b/tests/_live_build.pm index a3f4b7b2..865223a9 100644 --- a/tests/_live_build.pm +++ b/tests/_live_build.pm @@ -81,6 +81,11 @@ sub run { } # now flatten the kickstart assert_script_run "ksflatten -c fedora-live-${lcsubv}.ks -o openqa.ks"; + # FIXME: we need to hack this back out till a compose with the new + # group has run, remove after next Rawhide compose + if ($version eq $rawrel && $lcsubv eq "kde") { + assert_script_run "sed -i -e '/kde-spin-initial-setup/d' openqa.ks"; + } # upload the kickstart so we can check it upload_logs "openqa.ks"; # now install the tools into the mock