Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JUTWn-0007Oe-FR for mharc-grub-devel@gnu.org; Wed, 27 Feb 2008 16:09:25 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUTWl-0007Nx-M0 for grub-devel@gnu.org; Wed, 27 Feb 2008 16:09:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUTWk-0007N4-1r for grub-devel@gnu.org; Wed, 27 Feb 2008 16:09:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUTWj-0007N0-Ur for grub-devel@gnu.org; Wed, 27 Feb 2008 16:09:21 -0500 Received: from smtp8-g19.free.fr ([212.27.42.65]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUTWj-000091-NR for grub-devel@gnu.org; Wed, 27 Feb 2008 16:09:21 -0500 Received: from smtp8-g19.free.fr (localhost [127.0.0.1]) by smtp8-g19.free.fr (Postfix) with ESMTP id 166EA17F519 for ; Wed, 27 Feb 2008 22:06:20 +0100 (CET) Received: from [192.168.0.20] (klabs.be [82.224.65.140]) by smtp8-g19.free.fr (Postfix) with ESMTP id D9E6F17F56F for ; Wed, 27 Feb 2008 22:06:19 +0100 (CET) From: Franklin PIAT To: GRUB Dev Mailing List Content-Type: multipart/mixed; boundary="=-rwd7uaw7g78i2Oc1X2/3" Date: Wed, 27 Feb 2008 22:06:19 +0100 Message-Id: <1204146379.4950.11.camel@solid.paris.klabs.be> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: allow GRUB_TERMINAL=gfxterm to be specified in /etc/default/grub 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, 27 Feb 2008 21:09:23 -0000 --=-rwd7uaw7g78i2Oc1X2/3 Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello, Currently, if one sets "GRUB_TERMINAL=gfxterm" in /etc/default/grub, then update-grub dies with error : Invalid terminal "gfxterm" I've attached a patch to allow this. Franklin P.S. Of course, it's licensed under GPL. --=-rwd7uaw7g78i2Oc1X2/3 Content-Disposition: attachment; filename=update-grub.diff Content-Type: text/x-patch; name=update-grub.diff; charset=utf-8 Content-Transfer-Encoding: 7bit --- /usr/sbin/update-grub 2008-02-21 10:02:38.000000000 +0100 +++ update-grub 2008-02-21 10:01:11.000000000 +0100 @@ -123,7 +123,7 @@ # if ${GRUB_TERMINAL} is set, check it has a sane value. if undefined, # fallback to our default case ${platform}:${GRUB_TERMINAL} in pc:) GRUB_TERMINAL=gfxterm ;; - pc:console | pc:serial) ;; + pc:console | pc:serial | pc:gfxterm) ;; ieee1275:) GRUB_TERMINAL=ofconsole ;; ieee1275:ofconsole) ;; --=-rwd7uaw7g78i2Oc1X2/3--