lib/y2_installbase.pm

y2_installbase

y2_installbase - Base class for Yast installer related functionality

accept3rdparty

accept3rdparty();

After making changes in the "software selection" screen, accepts any 3rd party license.

accept_changes

accept_changes();

After making changes in the "pattern selection" screen, accepts changes.

validate_default_target

validate_default_target($expected_target);

The function compares the actual systemd target with the expected one (the one that passed as an argument to the function)

$expected_target - systemd target that is expected and need to be validated.

back_to_overview_from_packages

back_to_overview_from_packages();

Being in the "search packages" screen, performs steps needed to go back to overview page accepting automatic changes changes and 3rd party licenses.

check12qtbug

check12qtbug();

Being in the "select pattern" screen, workaround a known bug of Yast using QT.

go_to_patterns

go_to_patterns();

Performs steps needed to go from the "installation overview" screen to the "pattern selection" screen.

go_to_search_packages

go_to_search_packages();

Performs steps needed to go from the "pattern selection" screen to "search packages" screen.

move_down

move_down();

Being in the "select pattern" screen, performs steps needed to move the highlight cursor one item down.

process_patterns

process_patterns();

Decides to select all patterns or specific patterns based on setting PATTERNS Possible values for PATTERNS PATTERNS=minimal,base PATTERNS=all (to select all of them) PATTERNS=default,web,-x11,-gnome (to keep the default but add web and remove x11 and gnome)

search_package

search_package($package_name);

Being in the "search package" screen, performs steps needed to search for $package_name

select_all_patterns_by_menu

select_all_patterns_by_menu();

Being in the "select pattern" screen, performs steps needed to select all available patterns.

select_not_install_any_pattern

select_not_install_any_pattern() 

Being in the "select pattern" screen, performs steps to not install any patterns.

select_visible_unselected_patterns

select_visible_unselected_patterns([@patterns])

Being in the "select pattern" screen, performs steps to select visible patterns.

deselect_pattern

deselect_pattern();

Deselect patterns from already selected ones.

select_specific_patterns_by_iteration

select_specific_patterns_by_iteration();

Being in the "select pattern" screen, performs steps needed to select given patterns. You can pass PATTERNS=minimal,base or PATTERNS=all to select all of them PATTERNS=default,web,-x11,-gnome to keep the default but add web and remove x11 and gnome

switch_selection

switch_selection(action => $action, needles => ARRAY($needles));

Being in the "select pattern" screen, performs steps needed to switch the checkbox ($action) of the pattern matching one of the given $needles. Example switch_selection(action => 'select', needles => ['current-pattern-selected']);

toggle_package

toggle_package($package_name, $operation);

Being in the "search package" screen, and showing a list of found packages, performs steps needed to toggle the checkbox of $package_name. The $operation can be '+' or 'minus'.