summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-01-27 21:18:06 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-02-25 11:38:59 +0000
commit88b671e838dbd86b1d34e137e3979fd8cff7b29c (patch)
treefdb76b4bb321decd6b5d8cf927ac11cce2833bf2
parent4b3e4de0e72b4034613c9834f7a60c4822828d6b (diff)
downloaddrakx-88b671e838dbd86b1d34e137e3979fd8cff7b29c.tar
drakx-88b671e838dbd86b1d34e137e3979fd8cff7b29c.tar.gz
drakx-88b671e838dbd86b1d34e137e3979fd8cff7b29c.tar.bz2
drakx-88b671e838dbd86b1d34e137e3979fd8cff7b29c.tar.xz
drakx-88b671e838dbd86b1d34e137e3979fd8cff7b29c.zip
Don't suggest mountpoint for ESP when doing a legacy boot install (mga#20164).
When doing a UEFI install, we add a fstab entry to mount the ESP on /boot/EFI. This is neither required nor desirable when doing a legacy boot install, even if an ESP is present on the disk.
-rw-r--r--perl-install/fs/mount_point.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/mount_point.pm b/perl-install/fs/mount_point.pm
index 9263d692f..56f2405e9 100644
--- a/perl-install/fs/mount_point.pm
+++ b/perl-install/fs/mount_point.pm
@@ -58,7 +58,7 @@ sub suggest_mount_points {
sub suggest_mount_points_always {
my ($fstab) = @_;
- my @ESP = grep { isESP($_) && maybeFormatted($_) && !$_->{is_removable} } @$fstab;
+ my @ESP = if_(is_uefi(), grep { isESP($_) && maybeFormatted($_) && !$_->{is_removable} } @$fstab);
if (@ESP) {
$ESP[0]{mntpoint} = "/boot/EFI";
}