summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-09-05 18:40:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-09-05 18:40:14 +0000
commit638a3090571b1fb237ef728e71ba261a17d6dbd6 (patch)
treef8a7636516f5feecdc57e8b1ab81164b2efa9804 /perl-install/bootloader.pm
parent68407dc6f1851f2da9a0a736fbf8b180d6e77bc9 (diff)
downloaddrakx-backup-do-not-use-638a3090571b1fb237ef728e71ba261a17d6dbd6.tar
drakx-backup-do-not-use-638a3090571b1fb237ef728e71ba261a17d6dbd6.tar.gz
drakx-backup-do-not-use-638a3090571b1fb237ef728e71ba261a17d6dbd6.tar.bz2
drakx-backup-do-not-use-638a3090571b1fb237ef728e71ba261a17d6dbd6.tar.xz
drakx-backup-do-not-use-638a3090571b1fb237ef728e71ba261a17d6dbd6.zip
better NT & Fat bootloader entry adding or not
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 48c905420..5f475a0b8 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -489,7 +489,9 @@ wait %d seconds for default boot.
my %nbs;
foreach (@$hds) {
foreach (@{$_->{primary}{normal}}) {
+ isNT($_) || isFat($_) or next;
my $from_magic = { type => fsedit::typeOfPart($_->{device}) };
+ isNT($from_magic) || isFat($from_magic) or next;
my $label = isNT($_) ? 'NT' : isDos($_) ? 'dos' : 'windows';
add_entry($lilo,
{
@@ -500,7 +502,7 @@ wait %d seconds for default boot.
table => "/dev/$_->{rootDevice}"
),
unsafe => 1
- }) if isNT($from_magic) || isFat($from_magic);
+ })
}
}
}