Your message dated Tue, 08 Feb 2011 17:04:37 +0100
with message-id <1297181077.3023.0.camel@alexander>
and subject line Re: Bug#561923: grub-pc: Automatically convert background 
images to suitable format
has caused the Debian Bug report #561923,
regarding grub-pc: Automatically convert background images to suitable format
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
561923: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561923
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grub-pc
Version: 1.98~20091210-1
Severity: wishlist
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

I am attaching a patch that uses convert (from ImageMagick) to allow the
use of arbitrary images as the grub background. In particular it resizes
the image to the desired GRUB_GFXMODE and sets the pixel depth to 8-bit.
Although this would necessitate an extra dependency, it seems to me it
would also fix bugs #560978, #495282 and  #539963


- -- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/80623242-f5fa-41e6-a7ea-53c18a3b2d6a / reiserfs rw,relatime 0 0
/dev/mapper/mainVG-var /var xfs rw,noatime,attr2,logbufs=8,noquota 0 0
/dev/mapper/mainVG-usr /usr xfs rw,relatime,attr2,noquota 0 0
/dev/mapper/mainVG-usr--local /usr/local xfs rw,noatime,logbufs=8,noquota 0 0
/dev/mapper/mainVG-squid /var/spool/squid reiserfs rw,noatime,notail 0 0
/dev/mapper/mainVG-home /home xfs rw,relatime,attr2,noquota 0 0
/dev/mapper/mainVG-Torrents /usr/local/share/torrents xfs rw,relatime,noquota 0 0
/dev/mapper/mainVG-var /tmp/projects xfs rw,noatime,attr2,logbufs=8,noquota 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)   /dev/sda
(hd1)   /dev/sdb
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod lvm
insmod xfs
set root=(mainVG-usr)
search --no-floppy --fs-uuid --set a407b7d3-d5c4-4699-9c78-42d20855013d
if loadfont /share/grub/unicode.pf2 ; then
  set gfxmode=1680x1050
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
set locale_dir=/boot/grub/locale
set lang=en
insmod gettext 
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod reiserfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
insmod jpeg
if background_image /boot/grub/splashimage.jpeg ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/05_debian_theme.new ###
insmod reiserfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
insmod jpeg
if background_image /boot/grub/splashimage.jpeg ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme.new ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.32" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.32 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0 
        initrd  /boot/initrd.img-2.6.32
}
menuentry "Debian GNU/Linux, with Linux 2.6.32 (recovery mode)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.32 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro single panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0
        initrd  /boot/initrd.img-2.6.32
}
menuentry "Debian GNU/Linux, with Linux 2.6.32 (w/ Bootchart)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.32 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0  init=/sbin/bootchartd
        initrd  /boot/initrd.img-2.6.32
}
menuentry "Debian GNU/Linux, with Linux 2.6.32.old" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.32.old 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0 
        initrd  /boot/initrd.img-2.6.32
}
menuentry "Debian GNU/Linux, with Linux 2.6.32.old (recovery mode)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.32.old 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro single panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0
        initrd  /boot/initrd.img-2.6.32
}
menuentry "Debian GNU/Linux, with Linux 2.6.32.old (w/ Bootchart)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.32.old 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0  init=/sbin/bootchartd
        initrd  /boot/initrd.img-2.6.32
}
menuentry "Debian GNU/Linux, with Linux 2.6.31.6" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.31.6 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0 
        initrd  /boot/initrd.img-2.6.31.6
}
menuentry "Debian GNU/Linux, with Linux 2.6.31.6 (recovery mode)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.31.6 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro single panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0
        initrd  /boot/initrd.img-2.6.31.6
}
menuentry "Debian GNU/Linux, with Linux 2.6.31.6 (w/ Bootchart)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.31.6 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0  init=/sbin/bootchartd
        initrd  /boot/initrd.img-2.6.31.6
}
menuentry "Debian GNU/Linux, with Linux 2.6.31.1" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.31.1 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0 
        initrd  /boot/initrd.img-2.6.31.1
}
menuentry "Debian GNU/Linux, with Linux 2.6.31.1 (recovery mode)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.31.1 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro single panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0
        initrd  /boot/initrd.img-2.6.31.1
}
menuentry "Debian GNU/Linux, with Linux 2.6.31.1 (w/ Bootchart)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.31.1 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0  init=/sbin/bootchartd
        initrd  /boot/initrd.img-2.6.31.1
}
menuentry "Debian GNU/Linux, with Linux 2.6.31.1.old" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.31.1.old 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0 
        initrd  /boot/initrd.img-2.6.31.1
}
menuentry "Debian GNU/Linux, with Linux 2.6.31.1.old (recovery mode)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.31.1.old 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro single panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0
        initrd  /boot/initrd.img-2.6.31.1
}
menuentry "Debian GNU/Linux, with Linux 2.6.31.1.old (w/ Bootchart)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.31.1.old 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0  init=/sbin/bootchartd
        initrd  /boot/initrd.img-2.6.31.1
}
menuentry "Debian GNU/Linux, with Linux 2.6.31" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.31 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0 
        initrd  /boot/initrd.img-2.6.31
}
menuentry "Debian GNU/Linux, with Linux 2.6.31 (recovery mode)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.31 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro single panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0
        initrd  /boot/initrd.img-2.6.31
}
menuentry "Debian GNU/Linux, with Linux 2.6.31 (w/ Bootchart)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.31 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0  init=/sbin/bootchartd
        initrd  /boot/initrd.img-2.6.31
}
menuentry "Debian GNU/Linux, with Linux 2.6.30.5" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.30.5 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0 
        initrd  /boot/initrd.img-2.6.30.5
}
menuentry "Debian GNU/Linux, with Linux 2.6.30.5 (recovery mode)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.30.5 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro single panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0
        initrd  /boot/initrd.img-2.6.30.5
}
menuentry "Debian GNU/Linux, with Linux 2.6.30.5 (w/ Bootchart)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.30.5 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0  init=/sbin/bootchartd
        initrd  /boot/initrd.img-2.6.30.5
}
menuentry "Debian GNU/Linux, with Linux 2.6.30.3" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.30.3 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0 
        initrd  /boot/initrd.img-2.6.30.3
}
menuentry "Debian GNU/Linux, with Linux 2.6.30.3 (recovery mode)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.30.3 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro single panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0
        initrd  /boot/initrd.img-2.6.30.3
}
menuentry "Debian GNU/Linux, with Linux 2.6.30.3 (w/ Bootchart)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.30.3 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0  init=/sbin/bootchartd
        initrd  /boot/initrd.img-2.6.30.3
}
menuentry "Debian GNU/Linux, with Linux 2.6.30" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.30 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0 
        initrd  /boot/initrd.img-2.6.30
}
menuentry "Debian GNU/Linux, with Linux 2.6.30 (recovery mode)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.30 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro single panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0
        initrd  /boot/initrd.img-2.6.30
}
menuentry "Debian GNU/Linux, with Linux 2.6.30 (w/ Bootchart)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux   /boot/vmlinuz-2.6.30 
root=UUID=80623242-f5fa-41e6-a7ea-53c18a3b2d6a ro panic=30 agp=off 
iommu=noaperture,noagp i8042.noaux nmi_watchdog=0  init=/sbin/bootchartd
        initrd  /boot/initrd.img-2.6.30
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/22_invaders ###
menuentry "GRUB Invaders" {
        insmod reiserfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 80623242-f5fa-41e6-a7ea-53c18a3b2d6a
        multiboot       /boot/invaders.exec
}
### END /etc/grub.d/22_invaders ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Debian GNU/Linux (testing/unstable) (on /dev/mapper/mainVG-edwina)" {

        linux /vmlinuz-2.6.11.7 root=/dev/mapper/mainVG-edwina
}
menuentry "Debian GNU/Linux, linux 2.6.28 (on /dev/mapper/mainVG-root)" {
        insmod lvm
        insmod ext2
        set root=(mainVG-root)
        search --no-floppy --fs-uuid --set 6ca71198-d772-484c-b9a0-b1999a7bdb08
        linux /boot/vmlinuz-2.6.28 root=/dev/sda2 ro panic=30 agp=off vga=791
}
menuentry "Debian GNU/Linux, linux 2.6.28 (single-user mode) (on 
/dev/mapper/mainVG-root)" {
        insmod lvm
        insmod ext2
        set root=(mainVG-root)
        search --no-floppy --fs-uuid --set 6ca71198-d772-484c-b9a0-b1999a7bdb08
        linux /boot/vmlinuz-2.6.28 root=/dev/sda2 ro single panic=30 agp=off 
vga=791
}
menuentry "Debian GNU/Linux, linux 2.6.28 (w/ Bootchart) (on 
/dev/mapper/mainVG-root)" {
        insmod lvm
        insmod ext2
        set root=(mainVG-root)
        search --no-floppy --fs-uuid --set 6ca71198-d772-484c-b9a0-b1999a7bdb08
        linux /boot/vmlinuz-2.6.28 root=/dev/sda2 ro panic=30 agp=off vga=791 
init=/sbin/bootchartd
}
menuentry "Debian GNU/Linux, linux 2.6.11 (on /dev/mapper/mainVG-root)" {
        insmod lvm
        insmod ext2
        set root=(mainVG-root)
        search --no-floppy --fs-uuid --set 6ca71198-d772-484c-b9a0-b1999a7bdb08
        linux /boot/vmlinuz-2.6.11 root=/dev/sda2 ro panic=30 agp=off vga=791
}
menuentry "Debian GNU/Linux, linux 2.6.11 (single-user mode) (on 
/dev/mapper/mainVG-root)" {
        insmod lvm
        insmod ext2
        set root=(mainVG-root)
        search --no-floppy --fs-uuid --set 6ca71198-d772-484c-b9a0-b1999a7bdb08
        linux /boot/vmlinuz-2.6.11 root=/dev/sda2 ro single panic=30 agp=off 
vga=791
}
menuentry "Debian GNU/Linux, linux 2.6.11 (w/ Bootchart) (on 
/dev/mapper/mainVG-root)" {
        insmod lvm
        insmod ext2
        set root=(mainVG-root)
        search --no-floppy --fs-uuid --set 6ca71198-d772-484c-b9a0-b1999a7bdb08
        linux /boot/vmlinuz-2.6.11 root=/dev/sda2 ro panic=30 agp=off vga=791 
init=/sbin/bootchartd
}
menuentry "Debian GNU/Linux, linux 2.6.10 (on /dev/mapper/mainVG-root)" {
        insmod lvm
        insmod ext2
        set root=(mainVG-root)
        search --no-floppy --fs-uuid --set 6ca71198-d772-484c-b9a0-b1999a7bdb08
        linux /boot/vmlinuz-2.6.10 root=/dev/sda2 ro panic=30 agp=off vga=791
}
menuentry "Debian GNU/Linux, linux 2.6.10 (single-user mode) (on 
/dev/mapper/mainVG-root)" {
        insmod lvm
        insmod ext2
        set root=(mainVG-root)
        search --no-floppy --fs-uuid --set 6ca71198-d772-484c-b9a0-b1999a7bdb08
        linux /boot/vmlinuz-2.6.10 root=/dev/sda2 ro single panic=30 agp=off 
vga=791
}
menuentry "Debian GNU/Linux, linux 2.6.10 (w/ Bootchart) (on 
/dev/mapper/mainVG-root)" {
        insmod lvm
        insmod ext2
        set root=(mainVG-root)
        search --no-floppy --fs-uuid --set 6ca71198-d772-484c-b9a0-b1999a7bdb08
        linux /boot/vmlinuz-2.6.10 root=/dev/sda2 ro panic=30 agp=off vga=791 
init=/sbin/bootchartd
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.28          Debian configuration management sy
ii  grub-common              1.98~20091210-1 GRand Unified Bootloader, version 
ii  libc6                    2.10.2-2        GNU C Library: Shared libraries
ii  ucf                      3.0025          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto

- -- debconf information:
  grub2/kfreebsd_cmdline:
* grub-pc/linux_cmdline:
* grub2/linux_cmdline: panic=30 agp=off iommu=noaperture,noagp i8042.noaux 
nmi_watchdog=0
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default:
* grub-pc/install_devices: /dev/sda

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCgAGBQJLL0dHAAoJEKB7YbRsd8TGsRoP/iJW71G1bJwu9VIzJPNHS275
Eu+TVSyi35uhnKgZVlPxnnnbZnvumE2qF8oNtVMeHKoCoxkp0xl8BCsMH9vyQRqQ
f8cEkjebwXrbxBzJChrKbaN6pX/hzHOr9DtDTnahxA2phpNvOFA0HGPZp5LlSHpI
tKh3AwuFAVNDsfPGt2I6U6SCvGnpZrWF/9nuCryVt6NcXRJ8PJAJLsHVLh7njOWK
3UfHD39dt+X9wD7+8AcXjinC0W4cIKDjSa4Rr2pIYsB6YyUzcC76cw5CO0ExPld7
NGXNRmcitol55AkpVGbRJl5PIVPenOOj0i7DvwipVKWeF9WAiRXFC/+EXstusDrg
c3OOgeZyjJ92+asSTOl96FjnT3fl2iGKNjOS8qb9tZRr+pR9PnhBQITpo6qmqEAU
f05PXYfjgNGFUOxSbaLpIXpg9y83UBQuGFBsv+LTp2DmjZnTaEmYkgJa1SLHn2Td
MubsfhyF8YyXdh2dXNiTuzUHtEWf316OdBIpSpU62KgRdkNCM5u3MGQrn8o2a2TE
fPMMhDBwd3zWrMG7ykMeF0c2PyeY8nF1CrGSKWDT9MC++42bWYt8lHUNIHm4rk1d
74FVLjGfsj0C2dPaTuMO5and22xQ7sDTM010nfkepKfZMMK7gxMOajCDSBmqOieC
hqdft+lV55ZAsTNT68NN
=0Z+Y
-----END PGP SIGNATURE-----
--- /etc/grub.d/05_debian_theme 2009-12-17 10:22:53.000000000 +0000
+++ /etc/grub.d/05_debian_theme.new     2009-12-21 09:44:27.000000000 +0000
@@ -20,6 +20,15 @@
 EOF
 }
 
+resize_image() {
+  if [ -x '/usr/bin/convert' ] ; then
+    converted_name=/boot/grub/splashimage.${reader}
+    echo "Converting background image: `basename ${bg}`" >&2
+    /usr/bin/convert ${bg} -resize ${GRUB_GFXMODE} -depth 8 ${converted_name}
+    bg=${converted_name}
+  fi
+}
+
 # check for usable backgrounds
 use_bg=false
 if [ "$GRUB_TERMINAL_OUTPUT" = "gfxterm" ] ; then
@@ -34,6 +43,7 @@
       if test -e /boot/grub/${reader}.mod ; then
         echo "Found background image: `basename ${bg}`" >&2
         use_bg=true
+        resize_image
         break
       fi
     fi

--- End Message ---
--- Begin Message ---
Version: 1.98-1

Am Donnerstag, den 27.01.2011, 10:48 +0100 schrieb Alexander Kurtz: 
> Am Mittwoch, den 26.01.2011, 14:36 +0000 schrieb Colin Watson:
> > My main concern is that in future I want GRUB_GFXMODE to be dynamic,
> > detected from VBE at boot time (it's already this way in Ubuntu).  This
> > means that userspace wouldn't know what size to convert to.
> 
> That's a valid argument against doing automatic conversions. I've got
> two more:
> 
>  a) Adding ImageMagick as an extra dependency would pull in over 100 
>     additional packages with a total size of over 50 MB. I don't think
>     this is desirable, especially as the benefit wouldn't be that large.
> 
>  b) Adding support for using ImageMagick to 05_debian_theme only if
>     available would make the code much more complicated and add a 
>     number of special cases. Consider the following example:
> 
>     The background image is directly readable by GRUB: Normally no 
>     caching would be necessary, but if you have ImageMagick installed 
>     the picture would be automatically converted and stored 
>     under /boot/grub/. This may be useful in some cases, however
>     if GRUB could have read the picture without any extra conversion
>     this is just a waste of (possible precious) disk space. Consequently
>     we would have to add logic to determine whether converting the 
>     background image is useful. I really don't think that's the task of
>     a bootloader.
> 
> > Can't we do whatever conversion is needed at boot time instead?  GRUB
> > has some fairly sophisticated image processing facilities nowadays.
> 
> After doing some testing, I think that there are actually no conversions
> necessary. I've tested all the pictures from these paths
> 
>       /usr/share/backgrounds/cosmos/
>       /usr/share/images/desktop-base/
>       /usr/share/pixmaps/backgrounds/gnome/nature/
> 
> plus some private pictures from my digital camera. Apart from #611123[1]
> everything worked just fine - regardless of resolution or file format of
> the pictures.
> 
> IMHO this bug can be closed beginning with version 1.98-1 (this version
> added support for bitmap scaling). Any objections?

Since I didn't receive any objections, I'm closing this bug now. Feel
free to reopen if necessary!

Best regards

Alexander Kurtz

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to