summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
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
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')
-rw-r--r--perl-install/fs/any.pm4
-rw-r--r--perl-install/fs/mount_point.pm3
-rw-r--r--perl-install/fs/partitioning_wizard.pm4
3 files changed, 5 insertions, 6 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");
}
}
diff --git a/perl-install/fs/mount_point.pm b/perl-install/fs/mount_point.pm
index e56c330c0..c399c7d3b 100644
--- a/perl-install/fs/mount_point.pm
+++ b/perl-install/fs/mount_point.pm
@@ -55,8 +55,7 @@ sub suggest_mount_points_always {
my @win = grep { isFat_or_NTFS($_) && !$_->{isMounted} && maybeFormatted($_) && !$_->{is_removable} && $_->{pt_type} != 0x12 && !isRecovery($_) } @$fstab;
log::l("win parts: ", join ",", map { $_->{device} } @win) if @win;
if (@win == 1) {
- #- Suggest /boot/efi on ia64.
- $win[0]{mntpoint} = arch() =~ /ia64/ ? "/boot/efi" : "/media/windows";
+ $win[0]{mntpoint} = "/media/windows";
} else {
my %w; foreach (@win) {
my $v = $w{$_->{device_windobe}}++;
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 101d70ccc..fda1e3972 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -64,8 +64,8 @@ Then choose action ``Mount point'' and set it to `/'"), 1) or return;
if (!any { isSwap($_) } @fstab) {
$ok &&= $in->ask_okcancel('', N("You do not have a swap partition.\n\nContinue anyway?"));
}
- if (arch() =~ /ia64/ && !fs::get::has_mntpoint("/boot/efi", $all_hds)) {
- $in->ask_warn('', N("You must have a FAT partition mounted in /boot/efi"));
+ if ( is_uefi() && !fs::get::has_mntpoint("/boot/EFI", $all_hds)) {
+ $in->ask_warn('', N("You must have a ESP FAT32 partition mounted in /boot/EFI"));
$ok = '';
}
} until $ok;