From 9d9a0352fbae8a8b33b51286c0792d9339ec3b19 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 4 Dec 2020 14:59:03 -0800 Subject: [PATCH] Extend ext4_postinstall conditional for UEFI We have an extra boot partition on UEFI as well. Signed-off-by: Adam Williamson --- tests/disk_custom_standard_partition_ext4_postinstall.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/disk_custom_standard_partition_ext4_postinstall.pm b/tests/disk_custom_standard_partition_ext4_postinstall.pm index 03c1c598..4b388531 100644 --- a/tests/disk_custom_standard_partition_ext4_postinstall.pm +++ b/tests/disk_custom_standard_partition_ext4_postinstall.pm @@ -7,8 +7,8 @@ sub run { my $count = 3; my $devroot = 'vda1'; my $devboot = 'vda2'; - if (get_var('OFW')) { - $count = 4; # for PowerPC there is also a PreP partition. + if (get_var('OFW') || get_var('UEFI')) { + $count = 4; # extra boot partition (PreP or ESP) $devroot = 'vda2'; $devboot = 'vda3'; }