Bug#546060: /etc/grub.d/00_header: gfxterm mode is not activated

Felix Zielcke fzielcke at z-51.de
Fri Sep 11 10:05:57 UTC 2009


Am Freitag, den 11.09.2009, 04:20 +0200 schrieb Michael Biebl:
> Package: grub-common
> Version: 1.97~beta2-2
> Severity: normal
> File: /etc/grub.d/00_header
> Tags: patch
> 
> In /etc/default/grub I have:
> # Uncomment to disable graphical terminal (grub-pc only)
> #GRUB_TERMINAL=console
> 
> I would thus expect the gfxterm to be automatically activated, but it
> isn't.
> 
> The generated code in /boot/grub/grub.cfg is
> ### BEGIN /etc/grub.d/00_header ###
> set default=0
> set timeout=5
> terminal
> ### END /etc/grub.d/00_header ###
> 
> It's a bug in 00_header.
> 
> The attached patch fixes it.

-case ${platform}:${GRUB_TERMINAL} in
+case ${platform}:${GRUB_TERMINAL_OUTPUT} in
   pc:gfxterm)

This is not at all the 00_header from the 1.97~beta2-2 grub-common.deb
To be sure I just extracted the one from grub-common_i386 which was
built by the buildd and it has:

-case ${platform}:${GRUB_TERMINAL} in
+case ${platform}:${GRUB_TERMINAL_OUTPUT} in
   pc:gfxterm)
     # Make the font accessible
     prepare_grub_to_access_device `${grub_probe} --target=device ${GRUB_FONT_PATH}`

and the timeout is now set at the end of 00_header not before that part
like in your patch.
I was surprised to see that gfxterm wasn't enabled by you by default,
because our RC bugs clearly show that the gfxterm code ended up in
grub.cfg and that broke all ATI users.


-- 
Felix Zielcke
Proud Debian Maintainer






More information about the Pkg-grub-devel mailing list