Bug#500134: /etc/grub.d/05_debian_theme: make changing splash image easier

Krzysztof Burghardt krzysztof at burghardt.pl
Mon Oct 13 11:36:07 UTC 2008


2008/10/5 Robert Millan <rmh at aybabtu.com>:
>>  if [ "$GRUB_TERMINAL" = "gfxterm" ] ; then
>> -  for i in {/boot/grub,/usr/share/images/desktop-base}/debian-blueish-wallpaper-640x480.{png,tga} ; do
>> +  for i in {/boot/grub,/usr/share/images/desktop-base,${THEME_IMAGE_GRUB}}/${THEME_IMAGE_FILE}.{png,tga} ; do
>
> Please could you have user provide a full path instead, so the heuristic can
> be avoided when she does?

I want to keep it. It will work if user install grub2-splashimages and
only choose image (i.e set THEME_IMAGE_FILE). Directory will be chosen
automagically here, because /usr/share/images/grub is in
THEME_IMAGE_GRUB variable. Moreover, we still need heuristic in case
of LVM, encrypted / and so on to make spash activation as easy as
copying it to /boot/grub.

-- 
Krzysztof Burghardt <krzysztof at burghardt.pl>
http://www.burghardt.pl/





More information about the Pkg-grub-devel mailing list