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 90CDE1388F8 for ; Sat, 9 Feb 2013 03:21:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C3EF21C014; Sat, 9 Feb 2013 03:21:46 +0000 (UTC) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 325B521C004 for ; Sat, 9 Feb 2013 03:21:44 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id ds1so1132736wgb.0 for ; Fri, 08 Feb 2013 19:21:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dee.su; s=google; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=Plnn8pyWZgJsm3Vesk+wsmz5YgPUhrekzSJ4LJ+ksvQ=; b=MNlhEmeiRRW9G0OCo/iMVJtgIWw/N6HcXDvGKBCGMgkWpBu54KPByUB8WFjXQMrrWA eVdTgeaTOauIoofUn+kDEjtmNo7xn0M8IVN0IgVs27EAPnj2kK1f1ISirySFPaigstEu ugqGcjV4ZSBskIkx1ps8AWRt8EOXOMxC2ZlmU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding :x-gm-message-state; bh=Plnn8pyWZgJsm3Vesk+wsmz5YgPUhrekzSJ4LJ+ksvQ=; b=BY2rM5jMN1Q1O/7jkKugppcfEkHiKcyG1l5u9HM61v2ij7WRWtDLgyyjhq1TKyby/K GLiWX/1oszhX1QfsTAaFduKTCHUH/WMZuYr246gt8KlPd2wyR4A1S81P9NWO2lIqPanN sxL/aGywYWRS9MQ1iLxd+WXBTSwXlcoqbOqhv8vPfV1njWZ4EVffshfzcLhzfBgXy6df YddZXmusOO4UisENjI4S7p9dnCgDPu4ObtQFakL7V4Ll1zj3LQviKanRSuebN1ke2bnD i8FHt8YdQ7SsOnknHHAPnNIjEKioXiIkJ+tcknpGvxVWdP1+gNqOf2pTTk/CXawwNcJY K97Q== X-Received: by 10.180.83.227 with SMTP id t3mr5945718wiy.2.1360380103395; Fri, 08 Feb 2013 19:21:43 -0800 (PST) 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 Received: by 10.216.185.68 with HTTP; Fri, 8 Feb 2013 19:21:13 -0800 (PST) In-Reply-To: <511040E1.207@pluskal.org> References: <51100876.5060507@pluskal.org> <20130204223456.GA21225@kroah.com> <51103A02.5050108@pluskal.org> <20130204225907.GA1696@kroah.com> <511040E1.207@pluskal.org> From: Maxim Kammerer Date: Sat, 9 Feb 2013 05:21:13 +0200 Message-ID: Subject: Re: [gentoo-dev] Proper installation path for efi binaries (.efi) To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnaRsDXi0jjAVtiz78KGwlo+c2zDBcF8sAEBtFA+JoAXMPbQn/IdqgPNugq5uq3q1y9kPiM X-Archives-Salt: f546f8b8-49da-409a-a596-6fac36321e15 X-Archives-Hash: d097a18f6fe2b5a6370209dc21b9f363 On Tue, Feb 5, 2013 at 1:14 AM, Martin Pluskal wrote: > I am thinking about creating ebuild for shim. I was wondering if there > is any policy or suggestion where to place .efi binaries or how to > handle them in gentoo - it seems that there is none so perhaps there > should be agreed on what best practice is (install directly into > /boot/efi or install else and let user manually copy .efi to /boot/efi > or something completely different (eselect efi ...)). I think that you will most certainly need to separate installation and configuration (e.g., with a "shim-install" script or similar), because configuration depends on the environment. For instance, with removable media you will need to: 1. Drop shim.efi and MokManager.efi into [/boot/]EFI/BOOT. 2. Rename BOOTx64.EFI to grubx64.efi, and then rename shim.efi to BOOTx64.E= FI. (Copied from http://dee.su/liberte-install =97 this has been tested with OVMF and real Secure Boot hardware.) --=20 Maxim Kammerer Libert=E9 Linux: http://dee.su/liberte