summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2014-01-11 04:04:03 +0159
committerThomas Backlund <tmb@mageia.org>2014-01-11 04:04:03 +0159
commitcc67352b7a4cc06b127b7ea6194c196cc6fa89f1 (patch)
treeb5725ea4ba7d8f079b228cb0a0c2bd20efb0d6fd
parentcee6396ace235d76a61fe0431475781eeb08c6ac (diff)
downloaddrakx-cc67352b7a4cc06b127b7ea6194c196cc6fa89f1.tar
drakx-cc67352b7a4cc06b127b7ea6194c196cc6fa89f1.tar.gz
drakx-cc67352b7a4cc06b127b7ea6194c196cc6fa89f1.tar.bz2
drakx-cc67352b7a4cc06b127b7ea6194c196cc6fa89f1.tar.xz
drakx-cc67352b7a4cc06b127b7ea6194c196cc6fa89f1.zip
fs/any: warn about missing /boot/EFI
-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 154e521ec..a5c4c9807 100644
--- a/perl-install/fs/any.pm
+++ b/perl-install/fs/any.pm
@@ -71,8 +71,8 @@ sub check_hds_boot_and_root {
die "Need bootstrap partition to boot system!" if !(defined $partition_table::mac::bootstrap_part);
}
- if (arch() =~ /ia64/ && !fs::get::has_mntpoint("/boot/efi", $all_hds)) {
- die N("You must have a FAT partition mounted in /boot/efi");
+ if (arch() =~ /ia64|x86_64/ && (-e "/sys/firmmware/efi") && !fs::get::has_mntpoint("/boot/EFI", $all_hds)) {
+ die N("You must have a FAT partition mounted in /boot/EFI");
}
}