summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-04-02 19:34:39 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-04-04 20:06:36 +0200
commite5f6dd2bc9724c56ab73994aeb53e76313132bb0 (patch)
treee795152ca239d583a01af5b3aeaa7385326b6010
parent121369c77f8121376546b6094851fb1036665ed0 (diff)
downloaddrakx-e5f6dd2bc9724c56ab73994aeb53e76313132bb0.tar
drakx-e5f6dd2bc9724c56ab73994aeb53e76313132bb0.tar.gz
drakx-e5f6dd2bc9724c56ab73994aeb53e76313132bb0.tar.bz2
drakx-e5f6dd2bc9724c56ab73994aeb53e76313132bb0.tar.xz
drakx-e5f6dd2bc9724c56ab73994aeb53e76313132bb0.zip
Force reinitialisation of partition suggestions after wiping disk.
When the "Use entire disk" partitioning solution is chosen in a UEFI install, any existing ESP will be deleted, so we must force the partition suggestions to be updated to ensure we create a new one. (this matches what is done in the diskdrake auto-allocate routine)
-rw-r--r--perl-install/fs/partitioning_wizard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index eef836c55..8a15ec559 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -274,7 +274,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);
+ fsedit::init_mntpnt_suggestions($all_hds, 1);
fsedit::auto_allocate($all_hds, $partitions, $hd);
1;
} ];