Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MmZSY-0000vW-RQ for mharc-grub-devel@gnu.org; Sat, 12 Sep 2009 16:44:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmZSW-0000vO-Me for grub-devel@gnu.org; Sat, 12 Sep 2009 16:44:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmZSU-0000vC-94 for grub-devel@gnu.org; Sat, 12 Sep 2009 16:44:35 -0400 Received: from [199.232.76.173] (port=36949 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmZSU-0000v9-2F for grub-devel@gnu.org; Sat, 12 Sep 2009 16:44:34 -0400 Received: from fg-out-1718.google.com ([72.14.220.159]:22266) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MmZST-0006VG-OH for grub-devel@gnu.org; Sat, 12 Sep 2009 16:44:33 -0400 Received: by fg-out-1718.google.com with SMTP id 22so575997fge.12 for ; Sat, 12 Sep 2009 13:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=t3TGBThJruc1PhPE7kKjhHXFC4k1rla/TVc+S+OMvXU=; b=fZX1Hord3YPY25Dqj/QvA/hM1ihBI/xylIr7PK6Eb3VhvwWzPEPUJk+yX6qxTOruR+ MA6/tLOHxfy+ZBdkZtsIGBnJHVzUHCr7m70Svfb6f3Keli6+vHtJXq2bZXYMNiUVmSgn qz7EhmT6mHGRR6Nw9HIfnmc+pMINwR7xxqDek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=NUDTCnqu06cRJAX9CU3KO8t2m2ox5G4Vk/25fxnTaRcSldhW5vgrReTCPayxxOp682 ox6AH8BRa2FdUJvhuAtSn46E/PCwQN+MSzKbz8Rggc8i/xTusQl7ZYxoacoSwr86wzeT NwQ8bsyL8/RazkcV3JLV/39QWbu/4TaEzcZGk= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.86.169.3 with SMTP id r3mr3447124fge.15.1252788269985; Sat, 12 Sep 2009 13:44:29 -0700 (PDT) In-Reply-To: <1252761455.2854.5.camel@fz.local> References: <1244067102.3407.51.camel@fz.local> <1250617493.3810.15.camel@mj> <20090819151821.GC7859@thorin> <1250806721.2668.62.camel@mj> <1251015769.3612.3.camel@fz.local> <20090823110321.GM4130@thorin> <1252706059.2616.11.camel@mj> <20090912125834.GA11377@thorin> <1252761455.2854.5.camel@fz.local> Date: Sat, 12 Sep 2009 22:44:29 +0200 X-Google-Sender-Auth: 45b61b013474dc20 Message-ID: From: Michal Suchanek To: The development of GRUB 2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: 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: Sat, 12 Sep 2009 20:44:36 -0000 Hello 2009/9/12 Felix Zielcke : > Am Samstag, den 12.09.2009, 14:58 +0200 schrieb Robert Millan: >> On Fri, Sep 11, 2009 at 05:54:19PM -0400, Pavel Roskin wrote: >> > On Sun, 2009-08-23 at 13:03 +0200, Robert Millan wrote: >> > >> > > Pavel, if you could confirm that you're ok with checking for module >> > > existance, maybe Felix' patch can be made simpler. >> > >> > Generally, I would prefer not to rely on the existence of modules, as >> > it's a poor substitute for the knowledge whether they are actually >> > functional on the target hardware. >> >> I suppose we could put that knowledge into *.rmk files (i.e. stop buildi= ng >> gfxterm on platforms that don't have video backends). =C2=A0But it's a b= it >> annoying since it forces us to maintain duplicate declarations for it. >> > > And we'd need to define a fixed video backend for every target, else we > still have to check if there's a suitable one. > I don't see why that would be better then the current method. > And I doubt we can check inside the OS if the avaible video backends > actually work on the machine of the user. > Perhaps the terminal_output command should fail if the terminal does not work so we can do something like for vd in vbe vga ; do #assuming vga is fixed insmod $vd && break done for to in gfxterm console ; do terminal_output $to && break done Also why does gfxterm failing really matter? Shouldn't grub just continue with console? Thanks Michal