From 4525579cc2f70223c3b6ffe2c977621e081f4e08 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 25 May 2015 05:35:19 -0400 Subject: fix not always suggesting /boot/ESP mount point thus fixing mga#15689 for live installs The check for whether an ESP needs to be created or not seems to prevent us to suggest a mount point for the existing one in some cases to be reviewed for mga6... diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index f3b9973..b222c07 100644 --- a/perl-install/fs/partitioning_wizard.pm --- perl-install/fs/partitioning_wizard.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'perl-install/fs') diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index f3b997377..b222c0780 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -33,6 +33,13 @@ sub partition_with_diskdrake { my ($in, $all_hds, $fstab, $manual_fstab, $_partitions, $partitioning_flags, $skip_mtab) = @_; my $ok; + # The classic installer sets $skip_mtab to either undef or 1. The live + # installer sets it to 'skip_mtab'. If $skip_mtab is not set, this has + # already been done by fs::any::get_hds. + if ($skip_mtab eq 'skip_mtab') { + fs::mount_point::suggest_mount_points_always($fstab); + } + do { $ok = 1; my $do_force_reload = sub { -- cgit v1.2.1