From ff4d256a950648b12348a42ef11dea8dd19c7453 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 15 Jun 2020 16:37:15 +0100 Subject: When installing on a removable device, suggest an ESP on that device. We must update the suggestions each time the user selects a different target device. --- perl-install/fs/partitioning_wizard.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/fs') diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index d48b46084..9bd0aacf7 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -119,7 +119,7 @@ sub partitionWizardSolutions { my $min_linux = MB(600); my $min_swap = MB(50); my $min_freewin = MB(100); - fsedit::init_mntpnt_suggestions($all_hds); + fsedit::init_mntpnt_suggestions($all_hds, $o_target); # each solution is a [ score, text, function ], where the function retunrs true if succeeded @@ -288,7 +288,7 @@ filesystem checks will be run on your next boot into Microsoft Windows®")) if $ fsedit::partition_table_clear_and_initialize($all_hds->{lvms}, $hd, $in); # FIXME: reread all_hds: # re add suggestions if needed (as we might just have erased eg Boot BIOS partition): - fsedit::init_mntpnt_suggestions($all_hds, 1); + fsedit::init_mntpnt_suggestions($all_hds, $hd, 1); fsedit::auto_allocate($all_hds, $partitions, $hd); 1; } ]; -- cgit v1.2.1