From a55263a637f8ce91e1c7dcad643b3fa9341583de Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Feb 12 2025 07:55:39 +0000 Subject: Fix buildroot repo conditional in _live_build Signed-off-by: Adam Williamson --- diff --git a/tests/_live_build.pm b/tests/_live_build.pm index 78b5674..6a18ffc 100644 --- a/tests/_live_build.pm +++ b/tests/_live_build.pm @@ -43,7 +43,7 @@ sub run { # and the workarounds repo assert_script_run 'echo "repo --name=workarounds --baseurl=file:///mnt/workarounds_repo" >> ' . $repoks if ($workarounds); # and the buildroot repo, for Rawhide - if ($version eq $rawrel) { + if ($brrepo) { assert_script_run 'echo "repo --name=buildroot --baseurl=https://kojipkgs.fedoraproject.org/repos/' . $brrepo . '/latest/\$basearch/" >> ' . $repoks; } # now flatten the kickstart