From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HpLz4-00049c-IH for mharc-grub-devel@gnu.org; Sat, 19 May 2007 06:16:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HpLz1-000456-En for grub-devel@gnu.org; Sat, 19 May 2007 06:16:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HpLyy-00041K-Uv for grub-devel@gnu.org; Sat, 19 May 2007 06:16:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpLyy-000410-NE for grub-devel@gnu.org; Sat, 19 May 2007 06:16:16 -0400 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HpLyy-0006Oy-FP for grub-devel@gnu.org; Sat, 19 May 2007 06:16:16 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1HpLyw-00015g-Nv for grub-devel@gnu.org; Sat, 19 May 2007 12:16:15 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1HpM0v-0002Us-FV for grub-devel@gnu.org; Sat, 19 May 2007 12:18:17 +0200 Date: Sat, 19 May 2007 12:18:17 +0200 From: Robert Millan To: grub-devel@gnu.org Message-ID: <20070519101817.GA4753@aragorn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Genre and OS details not recognized. Subject: 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 10:16:20 -0000 Hi, 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? -- Robert Millan My spam trap is honeypot@aybabtu.com. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.