All of lore.kernel.org
 help / color / mirror / Atom feed
* grub-mkconfig fails on every non i386-pc because of gfxterm/vbe
@ 2009-06-03  9:43 Felix Zielcke
  2009-06-03 20:55 ` Pavel Roskin
  0 siblings, 1 reply; 26+ messages in thread
From: Felix Zielcke @ 2009-06-03  9:43 UTC (permalink / raw)
  To: The development of GRUB 2

I wonder why nobody on this list noticed this yet.
Jordi reported this already on Debian a while ago [0]

It fails with `No suitable backend could be found for gfxterm.'
The problem is that gfxterm is used when nothing is explicitly specified
and the fonts were compiled, but the fails because vbe.mod only gets
compiled for i386-pc whereas gfxterm.mod gets compiled for every arches.

I suggest as Jordi to just change the `exit 1' to ´exit 0' and telling
the user that it falls back to native terminal:

diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
index d8fa416..7c6ea39 100644
--- a/util/grub.d/00_header.in
+++ b/util/grub.d/00_header.in
@@ -83,7 +83,7 @@ case x${GRUB_TERMINAL_OUTPUT} in
       fi
     done
     if ! [ "${video_backend}" ] ; then
-      echo "No suitable backend could be found for gfxterm." >&2 ; exit 1
+      echo "No suitable backend could be found for gfxterm, falling back to native terminal." >&2 ; exit 0
     fi
 
     cat << EOF


[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520846
-- 
Felix Zielcke




^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2009-09-12 20:44 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-03  9:43 grub-mkconfig fails on every non i386-pc because of gfxterm/vbe Felix Zielcke
2009-06-03 20:55 ` Pavel Roskin
2009-06-03 22:11   ` Felix Zielcke
2009-06-09 20:24     ` Felix Zielcke
2009-06-12  1:09       ` Pavel Roskin
2009-08-14  6:44         ` Felix Zielcke
2009-08-18 17:58           ` Pavel Roskin
2009-08-18 18:09             ` Felix Zielcke
2009-08-18 18:25               ` Michal Suchanek
2009-06-11 16:09     ` Vladimir 'phcoder' Serbinenko
2009-07-22 11:04       ` Felix Zielcke
2009-08-18 17:44         ` Pavel Roskin
2009-08-18 17:53           ` Vladimir 'phcoder' Serbinenko
2009-08-18 18:11             ` Pavel Roskin
2009-08-19 15:18             ` Robert Millan
2009-08-20 22:18               ` Pavel Roskin
2009-08-20 22:45                 ` Vladimir 'phcoder' Serbinenko
2009-08-21 11:14                   ` Michal Suchanek
2009-08-23  8:22                 ` Felix Zielcke
2009-08-23 11:03                   ` Robert Millan
2009-08-25 19:35                     ` Robert Millan
2009-08-25 19:47                       ` Felix Zielcke
2009-09-11 21:54                     ` Pavel Roskin
2009-09-12 12:58                       ` Robert Millan
2009-09-12 13:17                         ` Felix Zielcke
2009-09-12 20:44                           ` Michal Suchanek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.