Merge pull request #143 from akatch/custom_standard_partition_ext4_postinstall_fails

Fix custom_standard_partition_ext4_postinstall failures
This commit is contained in:
Lukas Magauer 2023-01-20 15:48:47 +01:00 committed by GitHub
commit 20ef9e9467
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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