From a55263a637f8ce91e1c7dcad643b3fa9341583de Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 11 Feb 2025 23:55:39 -0800 Subject: [PATCH] Fix buildroot repo conditional in _live_build Signed-off-by: Adam Williamson --- tests/_live_build.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_live_build.pm b/tests/_live_build.pm index 78b56743..6a18ffca 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