1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

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

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) {