From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B6AA3138865 for ; Mon, 4 Feb 2013 22:57:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD58121C003; Mon, 4 Feb 2013 22:56:57 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6B65E0262 for ; Mon, 4 Feb 2013 22:56:56 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 2A55720164 for ; Mon, 4 Feb 2013 17:56:56 -0500 (EST) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 04 Feb 2013 17:56:56 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=KCoQ7+UPQkYFp9tSjLhVAwGU1eM=; b=sS2rBuAU8nivJkodPk56bCT7lntT jLprKOVoS2RRD98aCrCpvSmGWFxuvtCNvge0P4UHGWzqf9dAMVrZ9Itvhmaw9jyt ELOcUFPQlT0hEJH56PJJGE9f/15eOE0S8/HEymmhu2XX6efdKXZracqt2Yvuz3ZX MpUh09FzxNlSOLU= X-Sasl-enc: uEmDvd3RU3376p7tOE9S44QJrm2XtKOi3R5trmErS94G 1360018615 Received: from localhost (unknown [32.155.221.219]) by mail.messagingengine.com (Postfix) with ESMTPA id 868188E00AC; Mon, 4 Feb 2013 17:56:55 -0500 (EST) Date: Mon, 4 Feb 2013 14:59:07 -0800 From: Greg KH To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Proper installation path for efi binaries (.efi) Message-ID: <20130204225907.GA1696@kroah.com> References: <51100876.5060507@pluskal.org> <20130204223456.GA21225@kroah.com> <51103A02.5050108@pluskal.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51103A02.5050108@pluskal.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 69b3f975-faf7-45e5-883d-ec98dedd3f3d X-Archives-Hash: 0638daf8ae2e512d2cce7f514a1cb04d On Mon, Feb 04, 2013 at 11:45:22PM +0100, Martin Pluskal wrote: > On 4.2.2013 23:34, Greg KH wrote: > > On Mon, Feb 04, 2013 at 08:13:58PM +0100, Martin Pluskal wrote: > >> Hi > >> I am curious what is the proper path for installation of efi binaries > >> (such as shim.efi) in gentoo. I don't think that installing them > >> directly into /boot/efi... is proper way - it seems to me that > >> /usr/lib64/efi or /usr/libexec/efi is more appropriate location for > >> them. What's your opinion? > > > > It depends on if you want the bootloader to use the binary or not. If > > you do, it needs to be in /boot/efi/, otherwise it will never be able to > > be run by the UEFI system. > Well, in order to boot you have to place .efi into /boot/efi, I am not > sure if it is the best idea to directly install everything with .efi > into /boot/efi. As far as I know, elilo is installed into /usr/lib/elilo > and grub2 is placed into /boot/efi by grub2-install. If elilo is in /usr/lib/elilo, the UEFI bios can not run the binary as it can't even see the filesystem to read the binary from. So how can anything that is .efi _not_ be in /boot/efi and still work? Have you tried this out on your system with any success? What exactly is the issue you are trying to solve here? thanks, greg k-h