diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-03-05 12:54:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-03-05 12:54:06 +0000 |
commit | 77bceb82766c3225dd2d527a44c7a8d703b4dafe (patch) | |
tree | 65ef95eb2459d1c200b1efce34246b49076c2577 /perl-install | |
parent | e6ffe7c5af8a92d50771a96cf31a72a57b1dd39a (diff) | |
download | drakx-77bceb82766c3225dd2d527a44c7a8d703b4dafe.tar drakx-77bceb82766c3225dd2d527a44c7a8d703b4dafe.tar.gz drakx-77bceb82766c3225dd2d527a44c7a8d703b4dafe.tar.bz2 drakx-77bceb82766c3225dd2d527a44c7a8d703b4dafe.tar.xz drakx-77bceb82766c3225dd2d527a44c7a8d703b4dafe.zip |
if mem=nopentium is given on cmdline, have it after install
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 3 |
1 files changed, 3 insertions, 0 deletions
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})) { |