[Bug 458079] [NEW] /boot/grub or ... desktop-base required in 05_debian_theme path?
Felix Zielcke
fzielcke at z-51.de
Thu Oct 22 11:38:36 UTC 2009
Am Donnerstag, den 22.10.2009, 11:16 +0000 schrieb drs305:
> Public bug reported:
>
> Binary package hint: grub2
>
> When using a folder other than the defaults, the splash image location
> is not imported into grub.cfg unless either the "/boot/grub" OR
> "/usr/share/images/desktop-base" folder is also present in
> /etc/grub.d/05_debian_theme:
>
> Line 16 approximately:
> for i in {/boot/grub,/usr/share/images/desktop-base}/moreblue-orbit-grub.{png,tga} ; do
>
> This will not import my images into grub.cfg unless I add one of the two
> folders above. They don't have to be in the assigned order, but at least
> one of them must be present in the line for the script to import an
> image from any other location:
>
> WORKS
> for i in {/boot/grub,/usr/share/images/desktop-base,/usr/share/images/grub}/earth.640x480.{png,tga} ; do
> for i in {/boot/grub,/usr/share/images/grub}/earth.640x480.{png,tga} ; do
> for i in {/usr/share/images/desktop-base,/usr/share/images/grub}/earth.640x480.{png,tga} ; do
> for i in {/usr/share/images/grub,/boot/grub}/earth.640x480.{png,tga} ; do
>
> WON'T WORK
> for i in {/usr/share/images/grub}/earth.640x480.{png,tga} ; do
>
> Perhaps the script is written that way for a purpose but I see no reason
> to have such a constraint on the location of the splash images.
If you only use one directory, you don't even need the { }
so this definately should work:
for i in /usr/share/images/grub/earth.640x480.{png,tga} ; do
If you modify that script and you know if your image is png or tga then
you even can do the same with the {png,tga}
According to bash's man page this seems to be with intent.
>
> Thanks for a great GRUB 2 product!
>
You're welcome :)
--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer
--
/boot/grub or ... desktop-base required in 05_debian_theme path?
https://bugs.launchpad.net/bugs/458079
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list