mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43: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:
parent
c8de083f1c
commit
f3f1299f67
@ -51,6 +51,8 @@ sub run {
|
|||||||
$repl .= '\n - openqa-testtag' if ($tag || $copr);
|
$repl .= '\n - openqa-testtag' if ($tag || $copr);
|
||||||
# Just add them to all config files, as the names change a lot
|
# Just add them to all config files, as the names change a lot
|
||||||
assert_script_run 'sed -i -e "s,repos:,' . $repl . ',g" *.yaml';
|
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
|
# change the ref name to a custom one (so we can test rebasing to
|
||||||
# the 'normal' ref later)
|
# the 'normal' ref later)
|
||||||
assert_script_run 'sed -i -e "s,ref: fedora/,ref: fedora-openqa/,g" *.yaml';
|
assert_script_run 'sed -i -e "s,ref: fedora/,ref: fedora-openqa/,g" *.yaml';
|
||||||
|
Loading…
Reference in New Issue
Block a user