mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 02:13:08 +00:00
Wipe the openh264 repo a bit harder
We should wipe it both before and after running repo_setup to really get rid of it. Ideally we should stop doing this at all, but for right now the repo isn't there for Rawhide post-F40 branching yet, so let's keep this until that's done. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
d998a56383
commit
edcbf6a524
@ -712,13 +712,15 @@ sub _repo_setup_updates {
|
||||
}
|
||||
|
||||
sub repo_setup {
|
||||
# Run the appropriate sub-function for the job
|
||||
get_var("ADVISORY_OR_TASK") ? _repo_setup_updates : _repo_setup_compose;
|
||||
# This repo does not always exist for Rawhide or Branched, and
|
||||
# some things (at least realmd) try to update the repodata for
|
||||
# it even though it is disabled, and fail. At present none of the
|
||||
# tests needs it, so let's just unconditionally nuke it.
|
||||
assert_script_run "rm -f /etc/yum.repos.d/fedora-cisco-openh264.repo";
|
||||
# Run the appropriate sub-function for the job
|
||||
get_var("ADVISORY_OR_TASK") ? _repo_setup_updates : _repo_setup_compose;
|
||||
# wipe the openh264 file again in case it came back during repo setup
|
||||
assert_script_run "rm -f /etc/yum.repos.d/fedora-cisco-openh264.repo";
|
||||
}
|
||||
|
||||
sub console_initial_setup {
|
||||
|
Loading…
Reference in New Issue
Block a user