1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-28 16:43:09 +00:00

Extend ext4_postinstall conditional for UEFI

We have an extra boot partition on UEFI as well.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-12-04 14:59:03 -08:00
parent c6f1a03a92
commit 9d9a0352fb

View File

@ -7,8 +7,8 @@ sub run {
my $count = 3; my $count = 3;
my $devroot = 'vda1'; my $devroot = 'vda1';
my $devboot = 'vda2'; my $devboot = 'vda2';
if (get_var('OFW')) { if (get_var('OFW') || get_var('UEFI')) {
$count = 4; # for PowerPC there is also a PreP partition. $count = 4; # extra boot partition (PreP or ESP)
$devroot = 'vda2'; $devroot = 'vda2';
$devboot = 'vda3'; $devboot = 'vda3';
} }