From 6d63b86ea5942fe3450f6fe4d1e6ae5287fe9e5c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 11 Jun 2016 07:57:16 +0200 Subject: update suggestions if needed after erasing disk this is incomplete: we need to reread $all_hds else we won't add a Boot BIOS partition to suggestions if there was already one _prior_ to erase the full disk (mga#18656) ... --- perl-install/fs/partitioning_wizard.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/fs') diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index 82f03d24d..a48cdf987 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -272,6 +272,9 @@ filesystem checks will be run on your next boot into Microsoft Windows®")) if $ title => N("Partitioning"), interactive_help_id => 'takeOverHdConfirm' }) or return; 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::auto_allocate($all_hds, $partitions, $hd); 1; } ]; -- cgit v1.2.1