Device root resize changes

This commit is contained in:
Alan Marshall 2024-07-30 16:00:46 +01:00
parent e16c91f9dc
commit ae573f5cc8
Signed by: alangm
GPG Key ID: 4DF85D1B967F51A6
6 changed files with 26 additions and 5 deletions

View File

@ -0,0 +1,16 @@
{
"area": [
{
"ypos": 135,
"xpos": 374,
"height": 22,
"width": 74,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"device_root_resized_twelve"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

View File

@ -645,6 +645,7 @@
"rocky-dvd-iso-s390x-*-s390x": 40,
"rocky-dvd-iso-ppc64le-*-ppc64le": 40,
"rocky-dvd-iso-aarch64-*-aarch64": 40,
"rocky-dvd-iso-x86_64-*-bios": 41,
"rocky-dvd-iso-x86_64-*-uefi": 40
},
"settings": {
@ -961,6 +962,7 @@
"rocky-dvd-iso-s390x-*-s390x": 40,
"rocky-dvd-iso-ppc64le-*-ppc64le": 40,
"rocky-dvd-iso-aarch64-*-aarch64": 40,
"rocky-dvd-iso-x86_64-*-bios": 41,
"rocky-dvd-iso-x86_64-*-uefi": 40
},
"settings": {
@ -1241,7 +1243,8 @@
"profiles": {
"rocky-universal-s390x-*-s390x": 40,
"rocky-universal-ppc64le-*-ppc64le": 40,
"rocky-universal-aarch64-*-aarch64": 40
"rocky-universal-aarch64-*-aarch64": 40,
"rocky-universal-x86_64-*-uefi": 40
},
"settings": {
"HDD_1": "disk_shrink_ext4.img",
@ -1255,7 +1258,8 @@
"profiles": {
"rocky-universal-s390x-*-s390x": 40,
"rocky-universal-ppc64le-*-ppc64le": 40,
"rocky-universal-aarch64-*-aarch64": 40
"rocky-universal-aarch64-*-aarch64": 40,
"rocky-universal-x86_64-*-uefi": 40
},
"settings": {
"HDD_1": "disk_shrink_ntfs.img",

View File

@ -56,7 +56,7 @@ sub run {
type_very_safely "/";
# Skip to the Size window
send_key "tab";
type_very_safely "12 GiB";
type_very_safely "11.5 GiB";
# Reformat and update the partition
assert_and_click "anaconda_part_device_reformat";
assert_and_click "anaconda_part_update_settings";

View File

@ -5,9 +5,9 @@ use testapi;
sub run {
assert_screen "root_console";
# check that there is a root partition and that it has
# the correct size -> 11.9G
# the correct size -> 11.5G
script_run "lsblk";
assert_script_run "lsblk | grep root | grep '11.9G'";
assert_script_run "lsblk | grep root | grep '11.5G'";
}
sub test_flags {

View File

@ -14,6 +14,7 @@ sub run {
# this test shows if the system is booted with efi
assert_script_run '[ -d /sys/firmware/efi/ ]';
# this test shows if the system is secure boot
script_run 'df;lsblk';
script_run 'mokutil --sb-state';
}