mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 07:13:09 +00:00
Remove the Bodhi workaround again now the update is stable
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
1b43fc2055
commit
e1cad438ce
17
lib/utils.pm
17
lib/utils.pm
@ -403,23 +403,6 @@ sub _repo_setup_updates {
|
|||||||
assert_script_run "cd /opt/update_repo";
|
assert_script_run "cd /opt/update_repo";
|
||||||
assert_script_run "dnf -y install bodhi-client git createrepo koji", 300;
|
assert_script_run "dnf -y install bodhi-client git createrepo koji", 300;
|
||||||
|
|
||||||
# FIXME workaround bodhi updates download bug in 4.0.2-1; remove this
|
|
||||||
# once 4.0.2-2+ goes stable
|
|
||||||
my $sysrelease = get_var("VERSION");
|
|
||||||
my $hdd1;
|
|
||||||
my $bootfrom;
|
|
||||||
$hdd1 = get_var("HDD_1");
|
|
||||||
$bootfrom = get_var("BOOTFROM");
|
|
||||||
$sysrelease = $1 if ($hdd1 =~ /disk_f(\d+)/ && $bootfrom eq 'c');
|
|
||||||
if ($sysrelease > 28) {
|
|
||||||
assert_script_run "mkdir bodhi4022";
|
|
||||||
assert_script_run "cd bodhi4022";
|
|
||||||
assert_script_run "koji download-build --arch=noarch --arch=x86_64 bodhi-4.0.2-2.fc${sysrelease}";
|
|
||||||
assert_script_run "dnf -y update *.rpm";
|
|
||||||
assert_script_run "cd ..";
|
|
||||||
assert_script_run "rm -rf bodhi4022";
|
|
||||||
}
|
|
||||||
|
|
||||||
# download the packages
|
# download the packages
|
||||||
if (get_var("ADVISORY")) {
|
if (get_var("ADVISORY")) {
|
||||||
# regular update case
|
# regular update case
|
||||||
|
Loading…
Reference in New Issue
Block a user