summaryrefslogtreecommitdiffstats
path: root/perl-install
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
parent3edad0985f4a0cd330fc7e85183d0f3f8f74c23f (diff)
downloaddrakx-efad49dd6828a3b9e95678e963f5fc33a816b7a2.tar
drakx-efad49dd6828a3b9e95678e963f5fc33a816b7a2.tar.gz
drakx-efad49dd6828a3b9e95678e963f5fc33a816b7a2.tar.bz2
drakx-efad49dd6828a3b9e95678e963f5fc33a816b7a2.tar.xz
drakx-efad49dd6828a3b9e95678e963f5fc33a816b7a2.zip
bootloader: add large-memory option to lilo
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/bootloader.pm3
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index d34eb8d3d..83145317d 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -4,6 +4,7 @@
- harddrake:
o list card readers as system components instead of unknows devices
o when device has no description, use vendor string
+- bootloader: add large-memory option to lilo
Version 12.24 - 03 April 2009
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};