From 77bceb82766c3225dd2d527a44c7a8d703b4dafe Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 5 Mar 2002 12:54:06 +0000 Subject: if mem=nopentium is given on cmdline, have it after install --- perl-install/install_steps.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 855bbce5e..a4e1ec509 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -785,6 +785,9 @@ sub setupBootloaderBefore { if ($o->{miscellaneous}{HDPARM}) { bootloader::add_append($o->{bootloader}, $_, 'autotune') foreach grep { /ide.*/ } all("/proc/ide"); } + if (grep { /mem=nopentium/ } cat_("/proc/cmdline")) { + bootloader::add_append($o->{bootloader}, 'mem', 'nopentium'); + } if (arch() =~ /alpha/) { if (my $dev = fsedit::get_root($o->{fstab})) { -- cgit v1.2.1