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:
Adam Williamson 2023-08-09 14:05:31 -07:00
parent babc8ef87a
commit 53bd47d909
1 changed files with 4 additions and 6 deletions

View File

@ -5,11 +5,8 @@ use utils;
sub run { sub run {
my $self = shift; my $self = shift;
my $release = lc(get_var("VERSION")); my $relnum = get_release_number;
my $relnum = $release; my $rawrel = get_var("RAWREL");
if ($release eq "rawhide") {
$relnum = get_var("RAWREL", "rawhide");
}
# disable screen blanking (download can take a long time) # disable screen blanking (download can take a long time)
script_run "setterm -blank 0"; script_run "setterm -blank 0";
@ -17,7 +14,8 @@ sub run {
cleanup_workaround_repo; cleanup_workaround_repo;
repo_setup(); repo_setup();
my $params = "-y --releasever=${relnum}"; 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*"; $params .= " --nogpgcheck --disablerepo=*modular*";
} }