summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-14 10:14:32 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-14 10:14:32 +0000
commit58803c3501676fb0acb85682bccc9d2789f252f0 (patch)
tree0ea2eac7b550cbf1934b0e51ae8c47208d9d2ef9 /perl-install/bootloader.pm
parente3ef4878deb49278751b1759a5890239f810266e (diff)
downloaddrakx-backup-do-not-use-58803c3501676fb0acb85682bccc9d2789f252f0.tar
drakx-backup-do-not-use-58803c3501676fb0acb85682bccc9d2789f252f0.tar.gz
drakx-backup-do-not-use-58803c3501676fb0acb85682bccc9d2789f252f0.tar.bz2
drakx-backup-do-not-use-58803c3501676fb0acb85682bccc9d2789f252f0.tar.xz
drakx-backup-do-not-use-58803c3501676fb0acb85682bccc9d2789f252f0.zip
*** empty log message ***
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm13
1 files changed, 3 insertions, 10 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 5b99a022c..f7095e223 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -253,11 +253,13 @@ wait %d seconds for default boot.
{
label => 'linux',
root => "/dev/$root",
+ $vga_fb ? ( vga => $vga_fb) : (), #- using framebuffer
}) if $isSecure || $isSMP;
add_kernel($prefix, $lilo, $kernelVersion, '',
{
label => $isSecure || $isSMP ? 'linux-up' : 'linux',
root => "/dev/$root",
+ $vga_fb ? ( vga => $vga_fb) : (), #- using framebuffer
});
add_kernel($prefix, $lilo, $kernelVersion, '',
{
@@ -265,16 +267,6 @@ wait %d seconds for default boot.
root => "/dev/$root",
})->{append} .= " failsafe" unless $lilo->{password};
- if (-e "$prefix/boot/vmlinuz-${kernelVersion}fb") {
- add_kernel($prefix, $lilo, $kernelVersion, 'fb',
- {
- label => 'linux-fb',
- root => "/dev/$root",
- $vga_fb ? ( vga => $vga_fb) : (), #- specific mode for kernel-fb.
- });
- $vga_fb and $lilo->{default} = 'linux-fb'; #- make it by default.
- }
-
#- manage hackkernel if installed.
my $hasHack = -e "$prefix/boot/vmlinuz-hack";
if ($hasHack) {
@@ -283,6 +275,7 @@ wait %d seconds for default boot.
{
label => 'hack',
root => "/dev/$root",
+ $vga_fb ? ( vga => $vga_fb) : (), #- using framebuffer
}) if $hackVersion;
}