summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-11 15:54:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-11 15:54:30 +0000
commit6010c5693eff384e6b559b7e1577097b8ae1d510 (patch)
tree09627d484d2f6db84d75057a40e95e4771412d08 /perl-install
parent3d789cb439fd37a38bc028de78a48ec76fb55431 (diff)
downloaddrakx-6010c5693eff384e6b559b7e1577097b8ae1d510.tar
drakx-6010c5693eff384e6b559b7e1577097b8ae1d510.tar.gz
drakx-6010c5693eff384e6b559b7e1577097b8ae1d510.tar.bz2
drakx-6010c5693eff384e6b559b7e1577097b8ae1d510.tar.xz
drakx-6010c5693eff384e6b559b7e1577097b8ae1d510.zip
for lilo, do not have table=/dev/xxx if the device is not a primary
partition (otherwise lilo dies)
Diffstat (limited to 'perl-install')
-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 59fdfeb36..8446e7ba6 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -380,7 +380,9 @@ wait %d seconds for default boot.
type => 'other',
kernel_or_dev => "/dev/$_->{device}",
label => $label . ($nbs{$label}++ ? $nbs{$label} : ''),
- table => "/dev/$_->{rootDevice}",
+ if_($_->{device} =~ /[1-4]$/,
+ table => "/dev/$_->{rootDevice}"
+ ),
unsafe => 1
}) if isNT($_) || isFat($_) && isFat({ type => fsedit::typeOfPart($_->{device}) });
}