summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/any.pm
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-01-08 20:51:44 +0159
committerThomas Backlund <tmb@mageia.org>2015-01-08 20:51:44 +0159
commit5fd7be6bb8822a8434dcf667482771b2753a8b8d (patch)
tree420580f1e32cd1de8e65543836f2a9beff130d82 /perl-install/fs/any.pm
parentac25be0df4b079dbe65b88e89f51a6e5fd1dee39 (diff)
downloaddrakx-5fd7be6bb8822a8434dcf667482771b2753a8b8d.tar
drakx-5fd7be6bb8822a8434dcf667482771b2753a8b8d.tar.gz
drakx-5fd7be6bb8822a8434dcf667482771b2753a8b8d.tar.bz2
drakx-5fd7be6bb8822a8434dcf667482771b2753a8b8d.tar.xz
drakx-5fd7be6bb8822a8434dcf667482771b2753a8b8d.zip
we need /boot/EFI on uefi systems
Diffstat (limited to 'perl-install/fs/any.pm')
-rw-r--r--perl-install/fs/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/any.pm b/perl-install/fs/any.pm
index aeec42935..3021cd534 100644
--- a/perl-install/fs/any.pm
+++ b/perl-install/fs/any.pm
@@ -67,8 +67,8 @@ sub check_hds_boot_and_root {
my ($all_hds, $fstab) = @_;
fs::get::root_($fstab) or die "Oops, no root partition";
- if (arch() =~ /ia64/ && !fs::get::has_mntpoint("/boot/efi", $all_hds)) {
- die N("You must have a FAT partition mounted in /boot/efi");
+ if ( is_uefi() && !fs::get::has_mntpoint("/boot/EFI", $all_hds)) {
+ die N("You must have a ESP FAT32 partition mounted in /boot/EFI");
}
}