diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-01-27 21:18:06 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-02-12 11:54:53 +0000 |
commit | 4367a94baced65123f56351b7dd94defd23ad931 (patch) | |
tree | 23456d1d3728ce2c5c8586f9471d537670e24ccb | |
parent | 9f0f880c31175e4941dde0c0facee61ca8b11ef4 (diff) | |
download | drakx-4367a94baced65123f56351b7dd94defd23ad931.tar drakx-4367a94baced65123f56351b7dd94defd23ad931.tar.gz drakx-4367a94baced65123f56351b7dd94defd23ad931.tar.bz2 drakx-4367a94baced65123f56351b7dd94defd23ad931.tar.xz drakx-4367a94baced65123f56351b7dd94defd23ad931.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.pm | 2 |
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..ead8ee0a3 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 = grep { is_uefi() && isESP($_) && maybeFormatted($_) && !$_->{is_removable} } @$fstab; if (@ESP) { $ESP[0]{mntpoint} = "/boot/EFI"; } |