summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-25 17:57:19 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-25 17:57:19 +0000
commit5bebc55d66f0f25d830bc0be72c87e45cc8c8782 (patch)
tree3bf67ca158ecdb4117db7d2d0656b2219b723e4b /perl-install/any.pm
parent80e027c030f66e961d15bd8f2a6d6e57b5363625 (diff)
downloaddrakx-backup-do-not-use-5bebc55d66f0f25d830bc0be72c87e45cc8c8782.tar
drakx-backup-do-not-use-5bebc55d66f0f25d830bc0be72c87e45cc8c8782.tar.gz
drakx-backup-do-not-use-5bebc55d66f0f25d830bc0be72c87e45cc8c8782.tar.bz2
drakx-backup-do-not-use-5bebc55d66f0f25d830bc0be72c87e45cc8c8782.tar.xz
drakx-backup-do-not-use-5bebc55d66f0f25d830bc0be72c87e45cc8c8782.zip
*** empty log message ***
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index ca533b787..f6220f4bb 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -196,6 +196,7 @@ You can add some more or change the existing ones."),
_("Image") => { val => \$e->{kernel_or_dev}, list => [ map { s/$prefix//; $_ } glob_("$prefix/boot/vmlinuz*") ], not_edit => 0 },
_("Root") => { val => \$e->{root}, list => [ map { "/dev/$_->{device}" } @$fstab ], not_edit => !$::expert },
_("Append") => \$e->{append},
+_("Video mode") => { val => \$e->{vga}, list => [ keys %bootloader::vga_modes ], not_edit => !$::expert },
_("Initrd") => { val => \$e->{initrd}, list => [ map { s/$prefix//; $_ } glob_("$prefix/boot/initrd*") ] },
_("Read-write") => { val => \$e->{'read-write'}, type => 'bool' }
);
@@ -224,6 +225,7 @@ _("Default") => { val => \$default, type => 'bool' },
0;
})) {
$b->{default} = $old_default || $default ? $default && $e->{label} : $b->{default};
+ $e->{vga} = $bootloader::vga_modes{$e->{vga}} || $e->{vga};
require bootloader;
bootloader::configure_entry($prefix, $e); #- hack to make sure initrd file are built.