SPLASHPNG broken? (was Re: simple-cdd 0.3.10 splash)
- To: Jordi Soucheiron <email@example.com>
- Cc: firstname.lastname@example.org
- Subject: SPLASHPNG broken? (was Re: simple-cdd 0.3.10 splash)
- From: Vagrant Cascadian <email@example.com>
- Date: Wed, 20 May 2009 16:57:46 -0700
- Message-id: <20090520235746.GG4112@ryukin.fglan>
- In-reply-to: <firstname.lastname@example.org>
- References: <email@example.com> <20090520222118.GF4112@ryukin.fglan> <firstname.lastname@example.org>
On Thu, May 21, 2009 at 12:52:22AM +0200, Jordi Soucheiron wrote:
> I'm using a profile which has a export SPLASHPNG line in it. In previous
> versions it worked fine, but for some reason it's not working anymore. I've
> been reading simple-cdd and debian-cd scripts and I think that the problem
> may be that debian-cd unsets the variable, but I'm not sure.
looks like you found a bug in debian-cd. it seems like the new isolinux menus
debian-cd generates use splash.png directly, instead of the file that the
SPLASHPNG code generates(splash.rle). this patch to debian-cd seemed to sort of
fix it for me:
--- tools/boot/lenny/boot-x86 (revision 1916)
+++ tools/boot/lenny/boot-x86 (working copy)
@@ -303,6 +303,7 @@
# Insert our own splash screen. Color index 0 is
# background, and index 7 is foreground. Set to black and
# white respecively
+ cp $SPLASHPNG boot$N/isolinux/splash.png
pngtopnm < $SPLASHPNG | ppmquant 16 | \
ppmtolss16 "#ffffff=7" "#000000=0" > boot$N/isolinux/splash.rle
other tools/boot/*/boot-* probably also need to be modified similarly.
> I've tryed to modify the debian-cd inside the tmp directory, but it's useless
> because simple-cdd rsyncs the image with the one in /usr/share. I could try
> to modify the debian-cd scripts of /usr/share, but I rather modify the iso
> (it's faster and safer). Any ideas?
for that, simply make a copy of the debian-cd directory:
cp -a /usr/share/debian-cd /home/USER/my-debian-cd
and add a line to profiles/default.conf:
and modify /home/USER/my-debian-cd as needed.
> 2009/5/21 Vagrant Cascadian <email@example.com>:
> > On Wed, May 13, 2009 at 03:56:50PM +0200, Jordi Soucheiron wrote:
> >> It seems that the last versions of simplecdd don't allow me to specify
> >> a custom splash image. I've been able to solve it editing the iso with
> >> isomaster, but I'd like to use the .conf file like before. Does
> >> anybody know how to fix this?
> > there's no special code in simple-cdd to handle this; it just uses debian-cd's
> > SPLASHPNG variable, which needs to be exported, for example:
> > in profiles/SOMEPROFILE.conf:
> > export SPLASHPNG="$simple_cdd_dir/someimage.png"
> > where someimage.png is a file in your simple-cdd working dir.
> > also note: it seems like debian-custom redirects to the blends list now...
> > should probably start using firstname.lastname@example.org until i manage to
> > register a new list specifically for simple-cdd.
> > live well,
> > vagrant
> Jordi Soucheiron
> Software Engineer
> Parc Tecnològic la Salle
> Sant Joan de la Salle, 42
> 08022 Barcelona
> t/f: [+34] 93 181 01 95