From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RTvnz-0005Qz-T6 for mharc-grub-devel@gnu.org; Fri, 25 Nov 2011 08:27:03 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTvnw-0005NL-Cg for grub-devel@gnu.org; Fri, 25 Nov 2011 08:27:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTvnu-0005uq-Mh for grub-devel@gnu.org; Fri, 25 Nov 2011 08:27:00 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:57076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTvnu-0005uk-Gd for grub-devel@gnu.org; Fri, 25 Nov 2011 08:26:58 -0500 Received: by wwf5 with SMTP id 5so2269084wwf.30 for ; Fri, 25 Nov 2011 05:26:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=2/2HF1y+4LL2n+xlHgjTCFHrm4lMoReYs3pqGxvM07g=; b=m4f4nRUH6GqAbSAvtbJrDsb+pO8uAosixdf61y26Lq8nv/lVp9sLO4rgpaKDwijdAe sNMkI3ID96/C1SFz19W8KwAJT1ScWUQ/Npl4FQUOWgzu+CGi3hHm4M/mM5JFe1TVagS4 /N8kstxOaRNFq43j3YOP+VnFjjgadbyQ6oZeg= Received: by 10.227.204.75 with SMTP id fl11mr21513583wbb.21.1322227617565; Fri, 25 Nov 2011 05:26:57 -0800 (PST) Received: from debian.bg45.phcoder (public-docking-hg-2-022.ethz.ch. [129.132.247.22]) by mx.google.com with ESMTPS id bl10sm10689383wib.15.2011.11.25.05.26.54 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Nov 2011 05:26:55 -0800 (PST) Message-ID: <4ECF979C.7020605@gmail.com> Date: Fri, 25 Nov 2011 14:26:52 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: Add prefix option to grub-mkconfig References: <4EA875C0.3010803@gmail.com> <4EA87832.3000909@gmail.com> <4EA87EC3.7080701@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 13:27:01 -0000 On 22.11.2011 10:21, Keshav P R wrote: > On Thu, Oct 27, 2011 at 03:53, Seth Goldberg > wrote: > > > Quoting Vladimir 'φ-coder/phcoder' Serbinenko, who wrote the > following on...: > > prefix will be "X". Just on runtime it will add platform to it > when > loading modules and .lst (but not locale, themes and grub.cfg) > > > Sorry -- prefix is the wrong term. It is interesting that you're > going beyond what I thought, though; I thought you were just going > to do what grub-mkrescue did by creating the platform subdirs and > putting grub.cfg in there that does platform-specific stuff then > sources ../grub.cfg; I think that was a good approach, since you > ended up with the generic entries in the ../grub.cfg file and > platform-specific goodness in the platform dirs. > > > For now can you please check-in > grub-mkconfig-Use_outside_GRUB_PREFIX_if_defined.patch (file > attached). I can't think of any other way more simple than this. For > usage like (as root) > > # GRUB_PREFIX="/boot/efi/efi/grub" grub-mkconfig -o > /boot/efi/efi/grub/grub.cfg > Without the rest it's an inconsistent kludge. > This is definitely not the best or the long-term solution but for now > this will suffice (till the actual option to be used is decided). > Thanks in advance. > > Regards. > > Keshav > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel -- Regards Vladimir 'φ-coder/phcoder' Serbinenko