Use existing needles for fs selection.

This commit is contained in:
Lukáš Růžička 2020-05-27 11:16:42 +02:00 committed by Adam Williamson
parent d8171958ed
commit b5169e602b
6 changed files with 2 additions and 32 deletions

View File

@ -185,7 +185,7 @@ sub custom_blivet_format_partition {
assert_and_click "anaconda_blivet_part_format";
# Select the appropriate filesystem type.
assert_and_click "anaconda_blivet_part_drop_select";
assert_and_click "anaconda_blivet_part_select_$args{type}";
assert_and_click "anaconda_blivet_part_fs_$args{type}";
wait_still_screen 2;
# Fill in the label if needed.
send_key "tab";

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 517,
"ypos": 134,
"width": 129,
"height": 18,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_blivet_part_select_efi"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"anaconda_blivet_part_select_ext4"
],
"area": [
{
"xpos": 519,
"ypos": 315,
"width": 31,
"height": 17,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

View File

@ -36,7 +36,7 @@ sub run {
# partition first.
if (get_var("UEFI") == 1) {
#The efi partition should be already activated. So reformat it and remount.
custom_blivet_format_partition(type => 'efi', label => 'efiboot', mountpoint => '/boot/efi');
custom_blivet_format_partition(type => 'efi_filesystem', label => 'efiboot', mountpoint => '/boot/efi');
wait_still_screen 5;
}