summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2001-09-26 08:21:46 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2001-09-26 08:21:46 +0000
commit6b311aa6e6983fc663d95ed1189e75a7362df55b (patch)
tree2a3a316567a2def043bf935569d3f50f3b5b2bf7 /perl-install/install_any.pm
parent5ce6a5e017dba9c3d1499b0546287a270e438a29 (diff)
downloaddrakx-backup-do-not-use-6b311aa6e6983fc663d95ed1189e75a7362df55b.tar
drakx-backup-do-not-use-6b311aa6e6983fc663d95ed1189e75a7362df55b.tar.gz
drakx-backup-do-not-use-6b311aa6e6983fc663d95ed1189e75a7362df55b.tar.bz2
drakx-backup-do-not-use-6b311aa6e6983fc663d95ed1189e75a7362df55b.tar.xz
drakx-backup-do-not-use-6b311aa6e6983fc663d95ed1189e75a7362df55b.zip
- Suggest /boot/efi on IA-64 for the first VFAT partition found, instead
of /mnt/windows
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index d49b4f452..bf40b9162 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -967,7 +967,8 @@ sub getHds {
my @win = grep { isFat($_) && isFat({ type => fsedit::typeOfPart($_->{device}) }) } @{$o->{fstab}};
log::l("win parts: ", join ",", map { $_->{device} } @win) if @win;
if (@win == 1) {
- $win[0]{mntpoint} = "/mnt/windows";
+ #- Suggest /boot/efi on ia64.
+ $win[0]{mntpoint} = arch() =~ /ia64/ ? "/boot/efi" : "/mnt/windows";
} else {
my %w; foreach (@win) {
my $v = $w{$_->{device_windobe}}++;