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

rpmostree_rebase: avoid rebasing Silverblue to 38 for now

It seems to be busted:
https://github.com/fedora-silverblue/issue-tracker/issues/420
so let's just have anything that would rebase to SB 38 rebase to
SB 37 instead for now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-02-16 12:04:37 -08:00
parent 0a9abca4a6
commit d0d37e6aca

View File

@ -30,8 +30,14 @@ sub run {
my $relnum = get_release_number;
$rebase = $relnum - 1;
# avoid rebasing from 37 to <37, bad stuff happens
# FIXME when 38 branches, we should change this to RELNUM+1
# FIXME when
# https://github.com/fedora-silverblue/issue-tracker/issues/420
# is fixed we should change this to 38
$rebase = "rawhide" if ($relnum eq "37");
# FIXME: avoid rebasing to 38 until
# https://github.com/fedora-silverblue/issue-tracker/issues/420
# is fixed
$rebase = "37" if ($rebase eq "38");
$target = "fedora/${rebase}/${arch}/silverblue";
}
elsif ($current =~ "coreos") {