mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +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 {
|
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*";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user