From 88b671e838dbd86b1d34e137e3979fd8cff7b29c Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Fri, 27 Jan 2017 21:18:06 +0000 Subject: 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. --- perl-install/fs/mount_point.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs') 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"; } -- cgit v1.2.1