Fix custom_standard_partition_ext4_postinstall failures

Long story short: the volume order seems to have changed at some point.
This commit is contained in:
Al Bowles 2023-01-17 17:57:56 -06:00
parent c938db7b61
commit ca1a217da6
No known key found for this signature in database
GPG Key ID: 9B42314A30F1A3D1

View File

@ -11,13 +11,13 @@ sub run {
assert_screen "root_console";
my $count = 4;
my $devroot = 'vda1';
my $devboot = 'vda2';
my $devswap = 'vda3';
my $devswap = 'vda2';
my $devboot = 'vda3';
if (get_var('OFW') || get_var('UEFI')) {
$count = 5; # extra boot partition (PreP or ESP)
$devroot = 'vda2';
$devboot = 'vda3';
$devswap = 'vda4';
$devswap = 'vda3';
$devboot = 'vda4';
}
# check number of partitions
script_run 'fdisk -l | grep /dev/vda'; # debug