From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K8hXJ-0000ME-DK for mharc-grub-devel@gnu.org; Tue, 17 Jun 2008 16:12:13 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8hXI-0000M8-6d for grub-devel@gnu.org; Tue, 17 Jun 2008 16:12:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8hXG-0000Ld-Is for grub-devel@gnu.org; Tue, 17 Jun 2008 16:12:11 -0400 Received: from [199.232.76.173] (port=40630 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8hXG-0000La-GQ for grub-devel@gnu.org; Tue, 17 Jun 2008 16:12:10 -0400 Received: from mta31.charter.net ([216.33.127.82]:47808) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8hXG-0004ba-Bo for grub-devel@gnu.org; Tue, 17 Jun 2008 16:12:10 -0400 Received: from aarprv06.charter.net ([10.20.200.76]) by mta31.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080617201122.HJQB2641.mta31.charter.net@aarprv06.charter.net> for ; Tue, 17 Jun 2008 16:11:22 -0400 Received: from [192.168.0.102] (really [71.10.234.12]) by aarprv06.charter.net with ESMTP id <20080617201122.XPPN3194.aarprv06.charter.net@[192.168.0.102]> for ; Tue, 17 Jun 2008 16:11:22 -0400 Message-ID: <48581A68.1090504@isaac.cedarswampstudios.org> Date: Tue, 17 Jun 2008 16:11:20 -0400 From: Isaac Dupree User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: The development of GRUB 2 References: <20080617105123.6547c227@gibibit.com> <1213731972.31285.13.camel@dv> In-Reply-To: <1213731972.31285.13.camel@dv> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Chzlrs: 0 X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) Subject: Re: [PATCH] Fix grub-install to use prefix for modules dir 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: Tue, 17 Jun 2008 20:12:12 -0000 Pavel Roskin wrote: > On Tue, 2008-06-17 at 10:51 -0700, Colin D Bennett wrote: >> I fixed ``grub-install`` so it can function when installed >> to a prefix other than ``/usr/local``. This simply meant adding >> >> --directory="${pkglibdir} >> >> to the command line arguments for grub_mkimage. > > The default is GRUB_LIBDIR, which is set to pkglibdir at the compile > time. Your patch would have no effect if anything is compiled and > installed properly. indeed, grub-install works for me with ./configure --prefix=$PWD/inst; make; make install; sudo ./inst/sbin/grub-install ... -Isaac