summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-06-15 16:37:15 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-06-16 17:20:06 +0100
commitff4d256a950648b12348a42ef11dea8dd19c7453 (patch)
treec414788c4ab55022d5213ea2307852e4b82b04e5 /perl-install/fs
parent8fca7cfca3baa1639e316c8307dd20479cbe8d1d (diff)
downloaddrakx-ff4d256a950648b12348a42ef11dea8dd19c7453.tar
drakx-ff4d256a950648b12348a42ef11dea8dd19c7453.tar.gz
drakx-ff4d256a950648b12348a42ef11dea8dd19c7453.tar.bz2
drakx-ff4d256a950648b12348a42ef11dea8dd19c7453.tar.xz
drakx-ff4d256a950648b12348a42ef11dea8dd19c7453.zip
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.
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/partitioning_wizard.pm4
1 files changed, 2 insertions, 2 deletions
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;
} ];