Disable modular repos for Rawhide upgrades to avoid #2228827

As 'real' upgrades (using releases/development/rawhide on the
mirrors) do not hit this bug because it has a stale Modular
tree, it makes sense to work around the bug in testing so we can
see if upgrades are broken in any *other* way.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-08-05 09:44:13 +01:00
parent 4cf48547bf
commit 601d0c4f96
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ sub run {
repo_setup();
my $params = "-y --releasever=${relnum}";
if ($release eq "rawhide") {
$params .= " --nogpgcheck";
$params .= " --nogpgcheck --disablerepo=*modular*";
}
if (script_run "dnf ${params} system-upgrade download", 6000) {