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

Disable openh264 repo in upgrade_preinstall

We disable it later in this test when repo_setup gets called, but
if stuff from it was installed by this `dnf -y update` call, that
can cause dep issues.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-08-20 11:25:15 -07:00
parent a2ca3fc2b1
commit 80236fdb9b

View File

@ -20,6 +20,9 @@ sub run {
# from branched to rawhide to ensure we don't get packages from # from branched to rawhide to ensure we don't get packages from
# updates-testing for anything we do between here and upgrade_run # updates-testing for anything we do between here and upgrade_run
disable_updates_repos(both => 0); disable_updates_repos(both => 0);
# disable openh264 repo, otherwise stuff from it might cause
# trouble when it's disabled by repo_setup later
assert_script_run "rm -f /etc/yum.repos.d/fedora-cisco-openh264.repo";
assert_script_run 'dnf -y update --refresh', 1800; assert_script_run 'dnf -y update --refresh', 1800;
script_run "reboot", 0; script_run "reboot", 0;