diff options
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20120404/32fe00a8/attachment-0001.obj')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20120404/32fe00a8/attachment-0001.obj | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20120404/32fe00a8/attachment-0001.obj b/zarb-ml/mageia-dev/attachments/20120404/32fe00a8/attachment-0001.obj new file mode 100644 index 000000000..0fab4a60a --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120404/32fe00a8/attachment-0001.obj @@ -0,0 +1,22 @@ +Index: bootloader.pm +=================================================================== +--- bootloader.pm (revision 3913) ++++ bootloader.pm (working copy) +@@ -161,9 +161,16 @@ + sub update_splash { + my ($bootloader) = @_; + ++ my %real_initrd_entries; + foreach (@{$bootloader->{entries}}) { +- add_boot_splash($_->{initrd}, $_->{vga} || $bootloader->{vga}) if $_->{initrd}; ++ if ($_->{initrd}) { ++ my $initrd = expand_symlinks; ++ $real_initrd_entries[$initrd] = $_; ++ } + } ++ foreach (values %real_initrd_entries) { ++ add_boot_splash($_->{initrd}, $_->{vga} || $bootloader->{vga}); ++ } + } + + sub read {
\ No newline at end of file |