mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 17:18:30 +00:00
fix distri check
This commit is contained in:
parent
c8e3051388
commit
d75b56be20
@ -453,7 +453,7 @@ sub cleanup_workaround_repo {
|
|||||||
sub setup_workaround_repo {
|
sub setup_workaround_repo {
|
||||||
# doesn't work for Rocky
|
# doesn't work for Rocky
|
||||||
my $distri = get_var("DISTRI");
|
my $distri = get_var("DISTRI");
|
||||||
return if ($release eq "distri");
|
return if ($distri eq "rocky");
|
||||||
# we periodically need to pull an update from updates-testing in
|
# we periodically need to pull an update from updates-testing in
|
||||||
# to fix some bug or other. so, here's an organized way to do it.
|
# to fix some bug or other. so, here's an organized way to do it.
|
||||||
# we do this here so the workaround packages are in the repo data
|
# we do this here so the workaround packages are in the repo data
|
||||||
@ -507,7 +507,7 @@ sub setup_workaround_repo {
|
|||||||
sub _repo_setup_compose {
|
sub _repo_setup_compose {
|
||||||
# doesn't work for Rocky
|
# doesn't work for Rocky
|
||||||
my $distri = get_var("DISTRI");
|
my $distri = get_var("DISTRI");
|
||||||
return if ($release eq "distri");
|
return if ($distri eq "rocky");
|
||||||
# doesn't work for IoT or CoreOS, anything that hits this on those
|
# doesn't work for IoT or CoreOS, anything that hits this on those
|
||||||
# paths must work with default mirror config...
|
# paths must work with default mirror config...
|
||||||
my $subvariant = get_var("SUBVARIANT");
|
my $subvariant = get_var("SUBVARIANT");
|
||||||
@ -539,7 +539,7 @@ sub _repo_setup_compose {
|
|||||||
sub _repo_setup_updates {
|
sub _repo_setup_updates {
|
||||||
# doesn't work for Rocky
|
# doesn't work for Rocky
|
||||||
my $distri = get_var("DISTRI");
|
my $distri = get_var("DISTRI");
|
||||||
return if ($release eq "distri");
|
return if ($distri eq "rocky");
|
||||||
# Appropriate repo setup steps for testing a Bodhi update
|
# Appropriate repo setup steps for testing a Bodhi update
|
||||||
# Check if we already ran, bail if so
|
# Check if we already ran, bail if so
|
||||||
return unless script_run "test -f /etc/yum.repos.d/advisory.repo";
|
return unless script_run "test -f /etc/yum.repos.d/advisory.repo";
|
||||||
|
Loading…
Reference in New Issue
Block a user