summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-11 07:57:16 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-11 09:39:45 +0200
commit6d63b86ea5942fe3450f6fe4d1e6ae5287fe9e5c (patch)
tree4708c6a98f6175dc85105d3e242d7f6ccb185d9f
parent1b96be96d399303bcfa8d0f6c4920880848dac77 (diff)
downloaddrakx-6d63b86ea5942fe3450f6fe4d1e6ae5287fe9e5c.tar
drakx-6d63b86ea5942fe3450f6fe4d1e6ae5287fe9e5c.tar.gz
drakx-6d63b86ea5942fe3450f6fe4d1e6ae5287fe9e5c.tar.bz2
drakx-6d63b86ea5942fe3450f6fe4d1e6ae5287fe9e5c.tar.xz
drakx-6d63b86ea5942fe3450f6fe4d1e6ae5287fe9e5c.zip
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) ...
-rw-r--r--perl-install/fs/partitioning_wizard.pm3
1 files changed, 3 insertions, 0 deletions
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;
} ];