FEATURE: Add DNF_CONTENTDIR override support #119

Merged
tcooper merged 14 commits from issue_118 into 9.0_release_fixes 2022-07-10 21:05:04 +00:00
2 changed files with 14 additions and 7 deletions
Showing only changes of commit cc940e5455 - Show all commits

12
main.pm
View File

@ -249,13 +249,19 @@ sub _load_early_postinstall_tests {
# For now, there's no possibility to get a graphical desktop on # For now, there's no possibility to get a graphical desktop on
# Modular composes, so short-circuit here for those # Modular composes, so short-circuit here for those
# Rocky has no such thing as MODULAR composes. # Rocky has no such thing as MODULAR composes and we make use of PACKAGESET
if (!get_var("DESKTOP") || get_var("DESKTOP") eq "false") { # to select different Environments from the boot and/or DVD ISOs.
# DO NOT specify DESKTOP for minimal, server-product or virtualization-host
my $package_set = get_var("PACKAGE_SET");
if (!get_var("DESKTOP") || get_var("DESKTOP") eq "false" ||
$package_set eq "minimal" || $package_set eq "server" ||
$package_set eq "virtualization-host") {
_load_instance("tests/_console_wait_login", $instance); _load_instance("tests/_console_wait_login", $instance);
return; return;
} }
# Appropriate login method for install type # Explicitly setting DESKTOP="kde" or DESKTOP="gnome" should ALWAYS trigger
# graphical login...
if (get_var("DESKTOP")) { if (get_var("DESKTOP")) {
_load_instance("tests/_graphical_wait_login", $instance); _load_instance("tests/_graphical_wait_login", $instance);
} }

View File

@ -494,6 +494,7 @@
"rocky-dvd-iso-x86_64-*-64bit": 10 "rocky-dvd-iso-x86_64-*-64bit": 10
}, },
"settings": { "settings": {
"DESKTOP": "gnome",
"PACKAGE_SET": "default", "PACKAGE_SET": "default",
"POSTINSTALL": "_collect_data", "POSTINSTALL": "_collect_data",
"STORE_HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2" "STORE_HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2"
@ -633,8 +634,8 @@
"rocky-package-set-x86_64-*-64bit": 30 "rocky-package-set-x86_64-*-64bit": 30
}, },
"settings": { "settings": {
"PACKAGE_SET": "minimal", "DESKTOP": "false",
"POSTINSTALL": "_console_login" "PACKAGE_SET": "minimal"
} }
}, },
"install_package_set_server": { "install_package_set_server": {
lumarel commented 2022-07-09 18:17:56 +00:00 (Migrated from github.com)
Review

This removes a lot of the tests which Al recently added, is this on purpose?

This removes a lot of the tests which Al recently added, is this on purpose?
@ -648,8 +649,8 @@
"rocky-package-set-x86_64-*-64bit": 30 "rocky-package-set-x86_64-*-64bit": 30
}, },
"settings": { "settings": {
"PACKAGE_SET": "server", "DESKTOP": "false",
"POSTINSTALL": "_console_login" "PACKAGE_SET": "server"
} }
}, },
"install_package_set_graphical-server": { "install_package_set_graphical-server": {