[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#537368: Alternative boot splash images don't work (with patch)



Package: debian-cd
Version: 3.1.2

I tried to create a custom installer with a different boot splash logo. Passing the $SPLASHPNG parameter put the splash.rle file in the right place, but apparently the real file used at boot is a splash.png in the same directory which does not get updated by the boot-x86 script. I am sure the patch is wrong in some fundamental way, but it works for me.

Tony
Index: tools/boot/squeeze/boot-x86
===================================================================
--- tools/boot/squeeze/boot-x86 (revision 1924)
+++ tools/boot/squeeze/boot-x86 (working copy)
@@ -284,8 +284,8 @@
                # Insert our own splash screen.  Color index 0 is
                # background, and index 7 is foreground.  Set to black and
                # white respecively
                pngtopnm < $SPLASHPNG | ppmquant 16 | \
                        ppmtolss16 "#ffffff=7" "#000000=0" > boot$N/isolinux/splash.rle
+                pngtopnm < $SPLASHPNG | ppmquant 16 | pnmtopng  > boot$N/isolinux/splash.png
        fi

        sed -i "s|built on|built $BUILD_DATE; d-i|" boot$N/isolinux/f1.txt
Index: tools/boot/lenny/boot-x86
===================================================================
--- tools/boot/lenny/boot-x86   (revision 1924)
+++ tools/boot/lenny/boot-x86   (working copy)
@@ -303,8 +303,8 @@
                # Insert our own splash screen.  Color index 0 is
                # background, and index 7 is foreground.  Set to black and
                # white respecively
                pngtopnm < $SPLASHPNG | ppmquant 16 | \
                        ppmtolss16 "#ffffff=7" "#000000=0" > boot$N/isolinux/splash.rle
+               pngtopnm < $SPLASHPNG | ppmquant 16 | pnmtopng  > boot$N/isolinux/splash.png
        fi

        sed -i "s|built on|built $BUILD_DATE; d-i|" boot$N/isolinux/f1.txt


Reply to: