diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-19 10:59:41 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-19 10:59:41 +0000 |
commit | 34ca6ec984639ee1532d3b4884d795051b283e37 (patch) | |
tree | ed7ca473aefe13e4c79cf208d6acde60bd476022 /perl-install/bootloader.pm | |
parent | 00ee7484575398f18ed470baac21697e4389a144 (diff) | |
download | drakx-34ca6ec984639ee1532d3b4884d795051b283e37.tar drakx-34ca6ec984639ee1532d3b4884d795051b283e37.tar.gz drakx-34ca6ec984639ee1532d3b4884d795051b283e37.tar.bz2 drakx-34ca6ec984639ee1532d3b4884d795051b283e37.tar.xz drakx-34ca6ec984639ee1532d3b4884d795051b283e37.zip |
- drakboot --boot:
o fix dropping grub "configfile" entries when switching to lilo
more precisely: fix reading existing grub "configfile" entries
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index abaee89e1..c762ba07a 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -262,6 +262,10 @@ sub read_grub_menu_lst { $e->{type} = 'other'; $e->{kernel_or_dev} = grub2dev($e->{rootnoverify} || $e->{grub_root}, $grub2dev); $e->{append} = ""; + } elsif ($keyword eq 'configfile') { + $e->{type} = 'grub_configfile'; + $e->{kernel_or_dev} = grub2dev($e->{rootnoverify} || $e->{grub_root}, $grub2dev); + $e->{configfile} = $v; } elsif ($keyword eq 'initrd') { $e->{initrd} = grub2file($v, $grub2dev, $fstab, $e); } elsif ($keyword eq 'map') { |