summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-06-09 10:03:13 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-06-09 10:03:13 +0000
commit9ce591e41651e0cdb7508fb40ca3b0ef886172ca (patch)
treef63afc3fa011dcce5244b4c888b01a5982d166c3 /perl-install/bootloader.pm
parenteebc50e4b2e3cd7da8947df477aa2b1be56a9dac (diff)
downloaddrakx-9ce591e41651e0cdb7508fb40ca3b0ef886172ca.tar
drakx-9ce591e41651e0cdb7508fb40ca3b0ef886172ca.tar.gz
drakx-9ce591e41651e0cdb7508fb40ca3b0ef886172ca.tar.bz2
drakx-9ce591e41651e0cdb7508fb40ca3b0ef886172ca.tar.xz
drakx-9ce591e41651e0cdb7508fb40ca3b0ef886172ca.zip
Use Hal list of recovery partitions (#51532)
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 856b2a484..79bfb545a 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1065,9 +1065,9 @@ sub suggest {
} elsif (arch() !~ /ia64/) {
#- search for dos (or windows) boot partition. Do not look in extended partitions!
my @windows_boot_parts =
- grep { $_->{active} }
- grep { isFat_or_NTFS($_) && member(fs::type::fs_type_from_magic($_), 'vfat', 'ntfs', 'ntfs-3g')
- && fs::type::part2type_name($_) !~ /^Hidden/;
+ grep { $_->{active}
+ && isFat_or_NTFS($_) && member(fs::type::fs_type_from_magic($_), 'vfat', 'ntfs', 'ntfs-3g')
+ && !isRecovery($_);
}
map { @{$_->{primary}{normal}} } @{$all_hds->{hds}};
each_index {