From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KMzRV-0001Vx-J4 for mharc-grub-devel@gnu.org; Sun, 27 Jul 2008 02:09:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMzRT-0001Sv-4L for grub-devel@gnu.org; Sun, 27 Jul 2008 02:09:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMzRQ-0001Sb-1x for grub-devel@gnu.org; Sun, 27 Jul 2008 02:09:14 -0400 Received: from [199.232.76.173] (port=37551 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMzRP-0001SX-T0 for grub-devel@gnu.org; Sun, 27 Jul 2008 02:09:11 -0400 Received: from c60.cesmail.net ([216.154.195.49]:34696) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1KMzRP-00069w-I0 for grub-devel@gnu.org; Sun, 27 Jul 2008 02:09:11 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 27 Jul 2008 02:09:09 -0400 Received: from [192.168.1.225] (pool-71-185-138-248.phlapa.east.verizon.net [71.185.138.248]) by relay.cesmail.net (Postfix) with ESMTP id 9190B618F22 for ; Sun, 27 Jul 2008 02:09:09 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <488B1E37.5000101@t-online.de> References: <4888E3C5.9090707@t-online.de> <20080725204016.GD18149@thorin> <488B1E37.5000101@t-online.de> Content-Type: text/plain Date: Sun, 27 Jul 2008 02:09:02 -0400 Message-Id: <1217138942.16601.6.camel@ct> Mime-Version: 1.0 X-Mailer: Evolution 2.23.4 (2.23.4-3.fc10) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] update-grub for Cygwin 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: Sun, 27 Jul 2008 06:09:15 -0000 On Sat, 2008-07-26 at 14:53 +0200, Christian Franke wrote: > Robert Millan wrote: > > On Thu, Jul 24, 2008 at 10:19:17PM +0200, Christian Franke wrote: > > > >> + case "`uname 2>/dev/null`" in > >> + CYGWIN*) > >> > > > > Could this be done at build time instead? (when generating update-grub > > from update-grub.in) > > > > > > Yes, of course. Some alternatives: ... I think it's better to have the check at the run time than any of those alternatives. If we have many OS specific checks, then we can think how to leave the relevant ones. At this point, it's probably not worth the trouble. -- Regards, Pavel Roskin