mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-21 18:28:29 +00:00
remove ENV-DESKTOP- tag, set DESKTOP- tag instead where necessary
Let's use the same principle with DESKTOP tag as we use with LANGUAGE tag. Where there are any GNOME-only (or KDE-only) needles, tag them with `DESKTOP-gnome` and delete then when different `DESKTOP` value is specified. This will help with `QA:Testcase_Package_Sets_KDE_Package_Install` testcase - we will be able to use almost the same code and check that KDE got installed properly. Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D670
This commit is contained in:
parent
35c42da79b
commit
6e801bcd52
5
main.pm
5
main.pm
@ -77,6 +77,11 @@ sub cleanup_needles() {
|
||||
unregister_needle_tags("INSTALLER-smallhub");
|
||||
}
|
||||
|
||||
# Unregister desktop needles of other desktops when DESKTOP is specified
|
||||
if (get_var('DESKTOP')) {
|
||||
unregister_prefix_tags('DESKTOP', [ get_var('DESKTOP') ])
|
||||
}
|
||||
|
||||
# Unregister non-language-appropriate needles. See unregister_except_
|
||||
# tags for details; basically all needles with at least one LANGUAGE-
|
||||
# tag will be unregistered unless they match the current langauge.
|
||||
|
@ -2,7 +2,6 @@
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"anaconda_install_done",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
],
|
||||
|
@ -17,7 +17,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_install_done",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
]
|
||||
|
@ -2,7 +2,6 @@
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"anaconda_install_done",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french"
|
||||
],
|
||||
|
@ -17,7 +17,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_install_done",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french"
|
||||
]
|
||||
|
@ -10,7 +10,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_install_root_password",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora"
|
||||
]
|
||||
}
|
||||
|
@ -9,7 +9,6 @@
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"anaconda_install_user_creation"
|
||||
]
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english",
|
||||
"anaconda_install_user_creation_make_admin"
|
||||
|
@ -9,7 +9,6 @@
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english",
|
||||
"anaconda_install_user_creation_make_admin"
|
||||
|
@ -10,7 +10,6 @@
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french",
|
||||
"anaconda_install_user_creation_make_admin"
|
||||
|
@ -9,7 +9,6 @@
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french",
|
||||
"anaconda_install_user_creation_make_admin"
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"tags": [
|
||||
"anaconda_main_hub_begin_installation",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
],
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"tags": [
|
||||
"anaconda_main_hub_begin_installation",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
],
|
||||
|
@ -10,7 +10,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_main_hub_begin_installation",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
]
|
||||
|
@ -11,7 +11,6 @@
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"anaconda_main_hub_begin_installation",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french"
|
||||
]
|
||||
|
@ -10,7 +10,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_main_hub_begin_installation",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french"
|
||||
]
|
||||
|
@ -10,7 +10,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_main_hub_install_destination",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora"
|
||||
]
|
||||
}
|
||||
|
@ -2,7 +2,6 @@
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_continue",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
],
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_continue",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
],
|
||||
|
@ -10,7 +10,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_continue",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
]
|
||||
|
@ -9,7 +9,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_continue",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french"
|
||||
],
|
||||
|
@ -10,7 +10,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_continue",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french"
|
||||
]
|
||||
|
@ -18,7 +18,6 @@
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_filtered",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
]
|
||||
|
@ -17,7 +17,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_filtered",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
]
|
||||
|
@ -18,7 +18,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_filtered",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french"
|
||||
]
|
||||
|
@ -18,7 +18,6 @@
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_filtered",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french"
|
||||
]
|
||||
|
@ -17,7 +17,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_filtered",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french"
|
||||
],
|
||||
|
@ -17,7 +17,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_filtered",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french"
|
||||
]
|
||||
|
@ -10,7 +10,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_spoke_done",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
],
|
||||
|
@ -10,7 +10,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_spoke_done",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
]
|
||||
|
@ -2,7 +2,6 @@
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"anaconda_spoke_done",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french"
|
||||
],
|
||||
|
@ -10,7 +10,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_spoke_done",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-french"
|
||||
]
|
||||
|
@ -11,7 +11,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_spoke_done",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
]
|
||||
|
@ -10,7 +10,6 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_spoke_done",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english"
|
||||
]
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
"tags": [
|
||||
"ENV-DESKTOP-gnome",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-FLAVOR-server_boot",
|
||||
"ENV-FLAVOR-workstation_live",
|
||||
|
@ -16,7 +16,7 @@
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ENV-DESKTOP-gnome",
|
||||
"DESKTOP-gnome",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english",
|
||||
"graphical_desktop_clean"
|
||||
|
@ -17,7 +17,7 @@
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DESKTOP-gnome",
|
||||
"DESKTOP-gnome",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english",
|
||||
"graphical_desktop_clean"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"tags": [
|
||||
"ENV-DESKTOP-gnome",
|
||||
"DESKTOP-gnome",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english",
|
||||
"graphical_desktop_clean"
|
||||
|
@ -10,7 +10,7 @@
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ENV-DESKTOP-gnome",
|
||||
"DESKTOP-gnome",
|
||||
"ENV-FLAVOR-workstation_live",
|
||||
"desktop_runner"
|
||||
]
|
||||
|
@ -10,7 +10,7 @@
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DESKTOP-gnome",
|
||||
"DESKTOP-gnome",
|
||||
"ENV-FLAVOR-workstation_live",
|
||||
"desktop_runner"
|
||||
]
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"tags": [
|
||||
"graphical_login",
|
||||
"DESKTOP-gnome",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english",
|
||||
"ENV-FLAVOR-develop"
|
||||
|
@ -11,6 +11,7 @@
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"graphical_login_input",
|
||||
"DESKTOP-gnome",
|
||||
"ENV-DISTRI-fedora",
|
||||
"LANGUAGE-english",
|
||||
"ENV-FLAVOR-develop"
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"tags": [
|
||||
"graphical_login",
|
||||
"ENV-DESKTOP-kde",
|
||||
"DESKTOP-kde",
|
||||
"LANGUAGE-english",
|
||||
"ENV-FLAVOR-kde_live"
|
||||
],
|
||||
|
@ -10,7 +10,7 @@
|
||||
],
|
||||
"tags": [
|
||||
"desktop_runner",
|
||||
"ENV-DESKTOP-kde",
|
||||
"DESKTOP-kde",
|
||||
"ENV-FLAVOR-kde_live"
|
||||
],
|
||||
"properties": []
|
||||
|
@ -10,7 +10,7 @@
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ENV-DESKTOP-kde",
|
||||
"DESKTOP-kde",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-FLAVOR-kde_live",
|
||||
"desktop_runner"
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"tags": [
|
||||
"live_start_anaconda_icon",
|
||||
"ENV-DESKTOP-kde",
|
||||
"DESKTOP-kde",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-FLAVOR-kde_live"
|
||||
],
|
||||
|
@ -13,6 +13,6 @@
|
||||
"live_initial_anaconda_launcher",
|
||||
"live_start_anaconda_icon",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-DESKTOP-gnome"
|
||||
"DESKTOP-gnome"
|
||||
]
|
||||
}
|
@ -3,7 +3,7 @@
|
||||
"live_initial_anaconda_launcher",
|
||||
"live_start_anaconda_icon",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-DESKTOP-gnome"
|
||||
"DESKTOP-gnome"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
|
@ -1030,6 +1030,7 @@
|
||||
{ key => "BOOTFROM", value => "c" },
|
||||
{ key => "HDD_1", value => "disk_f22_desktop_x86_64.img" },
|
||||
{ key => "UPGRADE", value => "desktop" },
|
||||
{ key => "DESKTOP", value => "gnome" },
|
||||
],
|
||||
variables => "",
|
||||
},
|
||||
@ -1052,6 +1053,7 @@
|
||||
{ key => "BOOTFROM", value => "c" },
|
||||
{ key => "HDD_1", value => "disk_f22_desktop_i686.img" },
|
||||
{ key => "UPGRADE", value => "desktop" },
|
||||
{ key => "DESKTOP", value => "gnome" },
|
||||
],
|
||||
variables => "",
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user