mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-24 14:53:09 +00:00
Disable modular repos for upgrades to F39 as well (#2230720)
We know this is broken and we don't want it to fail on every update, so we need to work around the problem for now. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
babc8ef87a
commit
53bd47d909
@ -5,11 +5,8 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $release = lc(get_var("VERSION"));
|
||||
my $relnum = $release;
|
||||
if ($release eq "rawhide") {
|
||||
$relnum = get_var("RAWREL", "rawhide");
|
||||
}
|
||||
my $relnum = get_release_number;
|
||||
my $rawrel = get_var("RAWREL");
|
||||
# disable screen blanking (download can take a long time)
|
||||
script_run "setterm -blank 0";
|
||||
|
||||
@ -17,7 +14,8 @@ sub run {
|
||||
cleanup_workaround_repo;
|
||||
repo_setup();
|
||||
my $params = "-y --releasever=${relnum}";
|
||||
if ($release eq "rawhide") {
|
||||
if ($relnum > 38) {
|
||||
# FIXME https://bugzilla.redhat.com/show_bug.cgi?id=2230720
|
||||
$params .= " --nogpgcheck --disablerepo=*modular*";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user