summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-09 14:49:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-09 14:49:46 +0000
commitbe1c9ffd9895c8161786eb6e435851918b8d518f (patch)
treee1bb480f011eaaf11288818ca62869705cc531f6 /perl-install/any.pm
parentf4d64d8b1fc39f1234170c49d3a98188c723e0ec (diff)
downloaddrakx-be1c9ffd9895c8161786eb6e435851918b8d518f.tar
drakx-be1c9ffd9895c8161786eb6e435851918b8d518f.tar.gz
drakx-be1c9ffd9895c8161786eb6e435851918b8d518f.tar.bz2
drakx-be1c9ffd9895c8161786eb6e435851918b8d518f.tar.xz
drakx-be1c9ffd9895c8161786eb6e435851918b8d518f.zip
- drop the ability to set mem=xxx in bootloader configuration (#42329)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 8adf030a8..c0005e1e3 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -380,7 +380,6 @@ sub setupBootloader__general {
my $prev_force_acpi = my $force_acpi = bootloader::get_append_with_key($b, 'acpi') !~ /off|ht/;
my $prev_enable_apic = my $enable_apic = !bootloader::get_append_simple($b, 'noapic');
my $prev_enable_lapic = my $enable_lapic = !bootloader::get_append_simple($b, 'nolapic');
- my $memsize = bootloader::get_append_memsize($b);
my $prev_clean_tmp = my $clean_tmp = any { $_->{mntpoint} eq '/tmp' } @{$all_hds->{special} ||= []};
my $prev_boot = $b->{boot};
my $prev_method = $b->{method};
@@ -422,8 +421,6 @@ sub setupBootloader__general {
validate => sub { my $ok = !$b->{restricted} || $b->{password} or $in->ask_warn('', N("Option ``Restrict command line options'' is of no use without a password")); $ok } },
),
{ text => N("Clean /tmp at each boot"), val => \$clean_tmp, type => 'bool', advanced => 1 },
- { label => N("Precise RAM size if needed (found %d MB)", availableRamMB()), val => \$memsize, advanced => 1,
- validate => sub { my $ok = !$memsize || $memsize =~ /^\d+K$/ || $memsize =~ s/^(\d+)M?$/$1M/i or $in->ask_warn('', N("Give the ram size in MB")); $ok } },
]) or return 0;
} else {
$b->{boot} = $partition_table::mac::bootstrap_part;
@@ -455,7 +452,6 @@ sub setupBootloader__general {
bootloader::suggest_message_text($b) if ! -e "$::prefix/boot/message-text"; #- in case we switch from grub to lilo
- bootloader::set_append_memsize($b, $memsize);
if ($prev_force_acpi != $force_acpi) {
bootloader::set_append_with_key($b, acpi => ($force_acpi ? '' : 'ht'));
}