summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-20 15:35:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-20 15:35:51 +0000
commit78de5a217f95d300378ce5baf7421701d7385f9e (patch)
tree1a2f6d66eebe72d88b6bd22e555f2ac534e21cba
parentd30e30df42007625950e370a9fb3ef253a9cc555 (diff)
downloaddrakx-78de5a217f95d300378ce5baf7421701d7385f9e.tar
drakx-78de5a217f95d300378ce5baf7421701d7385f9e.tar.gz
drakx-78de5a217f95d300378ce5baf7421701d7385f9e.tar.bz2
drakx-78de5a217f95d300378ce5baf7421701d7385f9e.tar.xz
drakx-78de5a217f95d300378ce5baf7421701d7385f9e.zip
in setupBootloader__entries():
- move vga and initrd from $::expert to advanced - drop setting read-write, table, unsafe
-rw-r--r--perl-install/any.pm11
1 files changed, 2 insertions, 9 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index d1940741c..2b914a7cd 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -291,21 +291,14 @@ sub setupBootloader__entries {
{ label => N("Root"), val => \$e->{root}, list => [ map { "/dev/$_->{device}" } @$fstab ], not_edit => !$::expert },
{ label => N("Append"), val => \$e->{append} },
if_(arch() !~ /ppc|ia64/,
-{ label => N("Video mode"), val => \$e->{vga}, list => [ keys %bootloader::vga_modes ], format => sub { $bootloader::vga_modes{$_[0]} }, not_edit => !$::expert },
+{ label => N("Video mode"), val => \$e->{vga}, list => [ keys %bootloader::vga_modes ], format => sub { $bootloader::vga_modes{$_[0]} }, not_edit => !$::expert, advanced => 1 },
),
-{ label => N("Initrd"), val => \$e->{initrd}, list => [ map { s/$::prefix//; $_ } glob_("$::prefix/boot/initrd*") ], not_edit => 0 },
-{ label => N("Read-write"), val => \$e->{'read-write'}, type => 'bool' }
+{ label => N("Initrd"), val => \$e->{initrd}, list => [ map { s/$::prefix//; $_ } glob_("$::prefix/boot/initrd*") ], not_edit => 0, advanced => 1 },
);
- @l = @l[0..2] unless $::expert;
} else {
@l = (
{ label => N("Root"), val => \$e->{kernel_or_dev}, list => [ map { "/dev/$_->{device}" } @$fstab, detect_devices::floppies_dev() ], not_edit => !$::expert },
-if_(arch() !~ /sparc|ppc|ia64/,
-{ label => N("Table"), val => \$e->{table}, list => [ '', map { "/dev/$_->{device}" } @{$all_hds->{hds}} ], not_edit => !$::expert },
-{ label => N("Unsafe"), val => \$e->{unsafe}, type => 'bool' }
-),
);
- @l = $l[0] unless $::expert;
}
if (arch() !~ /ppc/) {
@l = (