From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HpSgd-0004SK-Bo for mharc-grub-devel@gnu.org; Sat, 19 May 2007 13:25:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HpSgb-0004SE-NK for grub-devel@gnu.org; Sat, 19 May 2007 13:25:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HpSgb-0004S2-2l for grub-devel@gnu.org; Sat, 19 May 2007 13:25:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpSga-0004Rz-Up for grub-devel@gnu.org; Sat, 19 May 2007 13:25:44 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HpSga-0000cX-HS for grub-devel@gnu.org; Sat, 19 May 2007 13:25:44 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id C01F93D021D6A for ; Sat, 19 May 2007 23:31:06 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 907F73D015DBF for ; Sat, 19 May 2007 23:31:06 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sat, 19 May 2007 19:25:42 +0200 User-Agent: KMail/1.9.4 References: <20070519101817.GA4753@aragorn> In-Reply-To: <20070519101817.GA4753@aragorn> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705191925.42736.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.17.2 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: update-grub shell library 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, 19 May 2007 17:25:46 -0000 On Saturday 19 May 2007 12:18, Robert Millan wrote: > I'd like to add a shell library that can be used as a helper for > update-grub modules. > > Currently, update-grub exports variables like GRUB_DRIVE_BOOT and > GRUB_DRIVE_BOOT_GRUB, which are a bit of a kludge. I'd like to rewrite > these into a shell function that converts system paths to grub paths, > but then it can't just be exported into environment. > > Can we add something like $(libdir)/grub/update-grub to put such kind of > helper code in? I see no problem with this. Okuji