diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-11-25 17:39:03 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-11-25 17:39:03 +0000 |
commit | b45350d4101df344ae530c1ddacb0f3d20eea0e1 (patch) | |
tree | 05c971e871e300d028b41c21b1b8322c16928f75 /perl-install/bootloader.pm | |
parent | 3c750d77a95e0f03e17c5f6835660af147811bc4 (diff) | |
download | drakx-b45350d4101df344ae530c1ddacb0f3d20eea0e1.tar drakx-b45350d4101df344ae530c1ddacb0f3d20eea0e1.tar.gz drakx-b45350d4101df344ae530c1ddacb0f3d20eea0e1.tar.bz2 drakx-b45350d4101df344ae530c1ddacb0f3d20eea0e1.tar.xz drakx-b45350d4101df344ae530c1ddacb0f3d20eea0e1.zip |
do not add removable drives as "Windows" entry in bootloader
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index fabd82a8f..8a5bcaba4 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1075,6 +1075,7 @@ sub suggest { my @windows_boot_parts = grep { $_->{active} && isFat_or_NTFS($_) && member(fs::type::fs_type_from_magic($_), 'vfat', 'ntfs', 'ntfs-3g') + && !$_->{is_removable} && !isRecovery($_); } map { @{$_->{primary}{normal}} } @{$all_hds->{hds}}; |