Add "PPC PReP Boot" filesystem for PowerPC blivet tests

This is required because anaconda is still checking for it
even if not mandatory. Already tracked by bug
https://bugzilla.redhat.com/show_bug.cgi?id=1172791

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
This commit is contained in:
Michel Normand 2017-05-31 07:28:07 -04:00
parent 4b77b71771
commit 2fceef0eb3
8 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 409,
"ypos": 311,
"width": 100,
"height": 17,
"type": "match"
}
],
"tags": [
"anaconda_blivet_part_fs_ppc_prep_boot"
],
"properties": []
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@ -14,6 +14,9 @@ sub run {
# if we're running on UEFI, we need esp # if we're running on UEFI, we need esp
custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem'); custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem');
} }
if (get_var("OFW")) {
custom_blivet_add_partition(size => 4, filesystem => 'ppc_prep_boot');
}
custom_blivet_add_partition(size => 512, mountpoint => '/boot'); custom_blivet_add_partition(size => 512, mountpoint => '/boot');
custom_blivet_add_partition(size => 2048, filesystem => 'swap'); custom_blivet_add_partition(size => 2048, filesystem => 'swap');

View File

@ -14,6 +14,9 @@ sub run {
# if we're running on UEFI, we need esp # if we're running on UEFI, we need esp
custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem'); custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem');
} }
if (get_var("OFW")) {
custom_blivet_add_partition(size => 4, filesystem => 'ppc_prep_boot');
}
custom_blivet_add_partition(size => 512, mountpoint => '/boot'); custom_blivet_add_partition(size => 512, mountpoint => '/boot');
custom_blivet_add_partition(size => 2048, filesystem => 'swap'); custom_blivet_add_partition(size => 2048, filesystem => 'swap');

View File

@ -14,6 +14,9 @@ sub run {
# if we're running on UEFI, we need esp # if we're running on UEFI, we need esp
custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem'); custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem');
} }
if (get_var("OFW")) {
custom_blivet_add_partition(size => 4, filesystem => 'ppc_prep_boot');
}
custom_blivet_add_partition(size => 512, mountpoint => '/boot'); custom_blivet_add_partition(size => 512, mountpoint => '/boot');
# add new LVM device # add new LVM device

View File

@ -14,6 +14,9 @@ sub run {
# if we're running on UEFI, we need esp # if we're running on UEFI, we need esp
custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem'); custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem');
} }
if (get_var("OFW")) {
custom_blivet_add_partition(size => 4, filesystem => 'ppc_prep_boot');
}
custom_blivet_add_partition(size => 512, mountpoint => '/boot'); custom_blivet_add_partition(size => 512, mountpoint => '/boot');
custom_blivet_add_partition(mountpoint => '/'); custom_blivet_add_partition(mountpoint => '/');

View File

@ -14,6 +14,9 @@ sub run {
# if we're running on UEFI, we need esp # if we're running on UEFI, we need esp
custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem'); custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem');
} }
if (get_var("OFW")) {
custom_blivet_add_partition(size => 4, filesystem => 'ppc_prep_boot');
}
custom_blivet_add_partition(size => 512, mountpoint => '/boot'); custom_blivet_add_partition(size => 512, mountpoint => '/boot');
custom_blivet_add_partition(size => 2048, filesystem => 'swap'); custom_blivet_add_partition(size => 2048, filesystem => 'swap');

View File

@ -14,6 +14,9 @@ sub run {
# if we're running on UEFI, we need esp # if we're running on UEFI, we need esp
custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem'); custom_blivet_add_partition(size => 512, mountpoint => '/boot/efi', filesystem => 'efi_filesystem');
} }
if (get_var("OFW")) {
custom_blivet_add_partition(size => 4, filesystem => 'ppc_prep_boot');
}
custom_blivet_add_partition(size => 512, mountpoint => '/boot'); custom_blivet_add_partition(size => 512, mountpoint => '/boot');
custom_blivet_add_partition(size => 2048, filesystem => 'swap'); custom_blivet_add_partition(size => 2048, filesystem => 'swap');