1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 13:33:08 +00:00

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 <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-06-24 15:22:45 -07:00
parent c8de083f1c
commit f3f1299f67

View File

@ -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';