1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-06-05 14:21:34 +00:00

Revert "blivet_btrfs_preserve_home: tweak root deletion"

This reverts commit 41df5e63e5.
Ugh, turns out we can't delete the 'container'.
This commit is contained in:
Adam Williamson 2025-04-04 12:13:18 -07:00
parent 41df5e63e5
commit 6c34e580f3
4 changed files with 38 additions and 20 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 286,
"width": 36,
"height": 18,
"ypos": 377,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_blivet_part_root_exists"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@ -1,15 +1,15 @@
{ {
"area": [ "area": [
{ {
"height": 18, "xpos": 265,
"type": "match", "width": 36,
"width": 51, "height": 18,
"xpos": 245, "ypos": 353,
"ypos": 353 "type": "match"
} }
], ],
"properties": [], "properties": [],
"tags": [ "tags": [
"anaconda_blivet_part_root_exists" "anaconda_blivet_part_root_exists"
] ]
} }

View File

@ -76,12 +76,15 @@ sub run {
# taking any effect. # taking any effect.
sleep 5; sleep 5;
# delete root subvolume. first click may not work # While there are some root subvolumes (it seems that there can be more than one)
assert_and_click "anaconda_blivet_part_root_exists"; # continue to delete them.
wait_still_screen 2; while (check_screen "anaconda_blivet_part_root_exists", 2) {
click_lastmatch if (check_screen "anaconda_blivet_part_root_exists"); assert_and_click "anaconda_blivet_part_root_exists";
assert_and_click "anaconda_blivet_part_delete"; wait_still_screen 2;
assert_and_click "anaconda_blivet_btn_ok"; assert_and_click "anaconda_blivet_part_delete";
assert_and_click "anaconda_blivet_btn_ok";
sleep 5;
}
# Add new root partition # Add new root partition
assert_and_click "anaconda_add"; assert_and_click "anaconda_add";