mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 09:08:29 +00:00
correct order for enable powertools
This commit is contained in:
parent
c185b5d074
commit
8106d07b6c
@ -11,13 +11,13 @@ sub run {
|
|||||||
prepare_test_packages;
|
prepare_test_packages;
|
||||||
# check rpm agrees they installed good
|
# check rpm agrees they installed good
|
||||||
verify_installed_packages;
|
verify_installed_packages;
|
||||||
# update the fake pandoc-common (should come from the real repo)
|
|
||||||
# this can take a long time if we get unlucky with the metadata refresh
|
|
||||||
assert_script_run 'dnf -y --disablerepo=openqa-testrepo* --disablerepo=updates-testing update pandoc-common', 600;
|
|
||||||
if (get_var("DISTRI") eq "rocky") {
|
if (get_var("DISTRI") eq "rocky") {
|
||||||
# pandoc-common is in PowerTools in RockyLinux
|
# pandoc-common is in PowerTools in RockyLinux
|
||||||
assert_script_run 'dnf config-manager --set-enabled powertools', 60;
|
assert_script_run 'dnf config-manager --set-enabled powertools', 60;
|
||||||
}
|
}
|
||||||
|
# update the fake pandoc-common (should come from the real repo)
|
||||||
|
# this can take a long time if we get unlucky with the metadata refresh
|
||||||
|
assert_script_run 'dnf -y --disablerepo=openqa-testrepo* --disablerepo=updates-testing update pandoc-common', 600;
|
||||||
# check we got the updated version
|
# check we got the updated version
|
||||||
verify_updated_packages;
|
verify_updated_packages;
|
||||||
# now remove pandoc-common, and see if we can do a straight
|
# now remove pandoc-common, and see if we can do a straight
|
||||||
|
Loading…
Reference in New Issue
Block a user