mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-16 10:11:26 +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:
parent
c6f1a03a92
commit
9d9a0352fb
@ -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';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user