diff options
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20120405/9fb53a02/attachment-0001.obj')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20120405/9fb53a02/attachment-0001.obj | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20120405/9fb53a02/attachment-0001.obj b/zarb-ml/mageia-dev/attachments/20120405/9fb53a02/attachment-0001.obj new file mode 100644 index 000000000..c9bb54c4b --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120405/9fb53a02/attachment-0001.obj @@ -0,0 +1,21 @@ +diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm +index 1613cd0..51ebb1f 100644 +--- a/perl-install/bootloader.pm ++++ b/perl-install/bootloader.pm +@@ -161,8 +161,15 @@ sub add_boot_splash { + 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($_->{initrd}); ++ $real_initrd_entries{$initrd} = $_; ++ } ++ } ++ foreach (values %real_initrd_entries) { ++ add_boot_splash($_->{initrd}, $_->{vga} || $bootloader->{vga}); + } + } +
\ No newline at end of file |