summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-04-08 13:17:48 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-04-08 13:17:48 +0000
commitefad49dd6828a3b9e95678e963f5fc33a816b7a2 (patch)
tree608f87ed0d6e7d0acc5b3fc4ea7927f488082432 /perl-install/bootloader.pm
parent3edad0985f4a0cd330fc7e85183d0f3f8f74c23f (diff)
downloaddrakx-backup-do-not-use-efad49dd6828a3b9e95678e963f5fc33a816b7a2.tar
drakx-backup-do-not-use-efad49dd6828a3b9e95678e963f5fc33a816b7a2.tar.gz
drakx-backup-do-not-use-efad49dd6828a3b9e95678e963f5fc33a816b7a2.tar.bz2
drakx-backup-do-not-use-efad49dd6828a3b9e95678e963f5fc33a816b7a2.tar.xz
drakx-backup-do-not-use-efad49dd6828a3b9e95678e963f5fc33a816b7a2.zip
bootloader: add large-memory option to lilo
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 10f8062da..c816baed6 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1010,6 +1010,7 @@ sub suggest {
boot => "/dev/" . ($onmbr ? $mbr->{device} : $boot),
map => "/boot/map",
compact => 1,
+ 'large-memory' => 1,
color => 'black/cyan yellow/cyan',
'menu-scheme' => 'wb:bw:wb:bw'
),
@@ -1390,7 +1391,7 @@ sub write_lilo {
push @conf, "# WARNING: do not forget to run lilo after modifying this file\n";
push @conf, "default=" . make_label_lilo_compatible($bootloader->{default}) if $bootloader->{default};
push @conf, map { $_ . '=' . $quotes_if_needed->($bootloader->{$_}) } grep { $bootloader->{$_} } qw(boot root map install serial vga keytable raid-extra-boot menu-scheme vmdefault);
- push @conf, grep { $bootloader->{$_} } qw(linear geometric compact prompt nowarn restricted static-bios-codes);
+ push @conf, grep { $bootloader->{$_} } qw(linear geometric compact prompt nowarn restricted static-bios-codes large-memory);
push @conf, "append=" . $quotes->($bootloader->{append}) if $bootloader->{append};
push @conf, "password=" . $bootloader->{password} if $bootloader->{password}; #- also done by msec
push @conf, "timeout=" . round(10 * $bootloader->{timeout}) if $bootloader->{timeout};