diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-09-05 18:40:14 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-09-05 18:40:14 +0000 |
commit | 638a3090571b1fb237ef728e71ba261a17d6dbd6 (patch) | |
tree | f8a7636516f5feecdc57e8b1ab81164b2efa9804 | |
parent | 68407dc6f1851f2da9a0a736fbf8b180d6e77bc9 (diff) | |
download | drakx-638a3090571b1fb237ef728e71ba261a17d6dbd6.tar drakx-638a3090571b1fb237ef728e71ba261a17d6dbd6.tar.gz drakx-638a3090571b1fb237ef728e71ba261a17d6dbd6.tar.bz2 drakx-638a3090571b1fb237ef728e71ba261a17d6dbd6.tar.xz drakx-638a3090571b1fb237ef728e71ba261a17d6dbd6.zip |
better NT & Fat bootloader entry adding or not
-rw-r--r-- | perl-install/bootloader.pm | 4 |
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); + }) } } } |