mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-19 19:51:25 +00:00
Delete openh264 repo definition during repo_setup
This repo is causing problems for Branched update tests. The repo is not available for 26 at all yet. This shouldn't be a problem as the repo is disabled by default, but it seems that some things - at least realmd, as used in the FreeIPA enrolment tests - still try to update the repo's metadata when installing packages, and fail because it 404s. Since none of our tests actually needs this repo AFAIK, let's just delete it in repo_setup.
This commit is contained in:
parent
bb1be2f0b1
commit
e4a8929465
@ -358,5 +358,10 @@ sub _repo_setup_updates {
|
|||||||
sub repo_setup {
|
sub repo_setup {
|
||||||
# Run the appropriate sub-function for the job
|
# Run the appropriate sub-function for the job
|
||||||
get_var("ADVISORY") ? _repo_setup_updates : _repo_setup_compose;
|
get_var("ADVISORY") ? _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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user