Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MBn0b-0003Qm-AB for mharc-grub-devel@gnu.org; Wed, 03 Jun 2009 05:43:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBn0Y-0003PR-ON for grub-devel@gnu.org; Wed, 03 Jun 2009 05:43:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBn0V-0003NX-1d for grub-devel@gnu.org; Wed, 03 Jun 2009 05:43:42 -0400 Received: from [199.232.76.173] (port=52889 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBn0U-0003NO-Cr for grub-devel@gnu.org; Wed, 03 Jun 2009 05:43:38 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:61375) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MBn0T-0003ad-Oq for grub-devel@gnu.org; Wed, 03 Jun 2009 05:43:38 -0400 Received: from [85.180.1.62] (e180001062.adsl.alicedsl.de [85.180.1.62]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MKsym-1MBn0S0LCz-000diP; Wed, 03 Jun 2009 11:43:36 +0200 From: Felix Zielcke To: The development of GRUB 2 Content-Type: text/plain; charset="UTF-8" Date: Wed, 03 Jun 2009 11:43:35 +0200 Message-Id: <1244022215.3429.17.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V01U2FsdGVkX1/O4g4Owol8hB8RpwkfOGePpE1qP71CAIPwS8d Vu0lXPUa95AuuG/uERlhA0r3TwN5MXiVOWOgDOKhpQlBu8uFzP 48KqspDElWVlgrBBdjTXtLnuvKS7Lq6 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: grub-mkconfig fails on every non i386-pc because of gfxterm/vbe X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 09:43:43 -0000 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 =C2=B4exit 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 t= o native terminal." >&2 ; exit 0 fi =20 cat << EOF [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D520846 --=20 Felix Zielcke