From f3f1299f674325e79361618df4b4a2f78f46f560 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 24 Jun 2024 15:22:45 -0700 Subject: [PATCH] ostree_build: force python3-dnf into built ostrees This makes them diverge slightly from official ones, but...we need it to run updvercheck.py, and doing that in a container is a pain because we have to get the input files in. So, let's just make sure it's in our ostrees. It used to be in them anyway, but last night it stopped being in Rawhide ones for some reason. Signed-off-by: Adam Williamson --- tests/_ostree_build.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/_ostree_build.pm b/tests/_ostree_build.pm index 0d2edac7..c1fa00df 100644 --- a/tests/_ostree_build.pm +++ b/tests/_ostree_build.pm @@ -51,6 +51,8 @@ sub run { $repl .= '\n - openqa-testtag' if ($tag || $copr); # Just add them to all config files, as the names change a lot assert_script_run 'sed -i -e "s,repos:,' . $repl . ',g" *.yaml'; + # ensure python3-dnf is in the built ostree for _advisory_post + assert_script_run 'sed -i -e "s,packages:,packages:\n - python3-dnf,g" *-packages.yaml'; # change the ref name to a custom one (so we can test rebasing to # the 'normal' ref later) assert_script_run 'sed -i -e "s,ref: fedora/,ref: fedora-openqa/,g" *.yaml';