1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-30 09:33:07 +00:00

Extend the python3-dnf thing and make it non-fatal

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-06-25 08:38:36 -07:00
parent c056ac945b
commit 99074fac96

View File

@ -52,7 +52,10 @@ sub run {
# 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 # 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'; # f41+
script_run 'sed -i -e "s,packages:,packages:\n - python3-dnf,g" *-packages.yaml';
# <f41
script_run 'sed -i -e "s,packages:,packages:\n - python3-dnf,g" *-pkgs.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';