mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-29 00:16:30 +00:00
Use release number not "rawhide" for Rawhide upgrades (#1531356)
There's a problem with using `--releasever=rawhide` for upgrade tests ATM - see #1531356 . To avoid this, we'll try using the real Rawhide release number (which I'm adapting the scheduler code to discover and pass in as `RAWREL`). Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
b50c4932db
commit
f70416c6a1
@ -6,12 +6,16 @@ use utils;
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $release = lc(get_var("VERSION"));
|
||||
my $relnum = $release;
|
||||
if ($release eq "rawhide") {
|
||||
$relnum = get_var("RAWREL", "rawhide");
|
||||
}
|
||||
# disable screen blanking (download can take a long time)
|
||||
script_run "setterm -blank 0";
|
||||
|
||||
# use compose repo
|
||||
repo_setup();
|
||||
my $params = "-y --releasever=${release}";
|
||||
my $params = "-y --releasever=${relnum}";
|
||||
if ($release eq "rawhide") {
|
||||
$params .= " --nogpgcheck";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user