From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8B9ED1581FB for ; Wed, 28 Aug 2024 07:39:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93D4BE2A4B; Wed, 28 Aug 2024 07:39:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F16D7E2A4A for ; Wed, 28 Aug 2024 07:39:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F8F3340906 for ; Wed, 28 Aug 2024 07:39:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7706B14D1 for ; Wed, 28 Aug 2024 07:39:15 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1724830721.f4eef50f627f344978f566025d4bee7137ff51aa.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/uefi-mkconfig/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-boot/uefi-mkconfig/Manifest sys-boot/uefi-mkconfig/uefi-mkconfig-2.3.ebuild X-VCS-Directories: sys-boot/uefi-mkconfig/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: f4eef50f627f344978f566025d4bee7137ff51aa X-VCS-Branch: master Date: Wed, 28 Aug 2024 07:39:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 227c95a7-12f3-4f54-8544-a2228a3a77cf X-Archives-Hash: dfdf71489668fdab925a27260350047d commit: f4eef50f627f344978f566025d4bee7137ff51aa Author: Biosias gdos sk> AuthorDate: Tue Aug 27 20:50:42 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Aug 28 07:38:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4eef50f sys-boot/uefi-mkconfig: add 2.3 Signed-off-by: Biosias gdos.sk> Closes: https://github.com/gentoo/gentoo/pull/38308 Signed-off-by: Andrew Ammerlaan gentoo.org> sys-boot/uefi-mkconfig/Manifest | 1 + sys-boot/uefi-mkconfig/uefi-mkconfig-2.3.ebuild | 36 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/sys-boot/uefi-mkconfig/Manifest b/sys-boot/uefi-mkconfig/Manifest index da37f9ec7d38..e9eb42816478 100644 --- a/sys-boot/uefi-mkconfig/Manifest +++ b/sys-boot/uefi-mkconfig/Manifest @@ -1 +1,2 @@ DIST uefi-mkconfig-2.2.tar.gz 10176 BLAKE2B 7078c23d39dc4e6b80785502c0d186ec1c8ca4ad4b758bcfdf4b74df38e47cef23952e5139d185a9b2b1253cd69f018145c63254f3a421952c70371e33fb1911 SHA512 5489aacc869afb57dc4d48deba4306b141ea08fa5763b8486f156b3b01aecf987f7927b70e7acbb1abe9e145b1d1d4ef57cd93e12d78bec10cc9e61a37ccf02c +DIST uefi-mkconfig-2.3.tar.gz 10295 BLAKE2B cae2301b1c181f87efbb47fbb393184ed383d763932999719223a298062cd802c318aeb9a1e4571483fe872b31ee27c86186a1200531d038e4ffe867ac683361 SHA512 730546552739db386249e0f86bce029ccb2695bd4b065326ae91ae92ab350ee387e46b661514b80728e609aa851a78efdda97a86fd7418c6f0044341c393c452 diff --git a/sys-boot/uefi-mkconfig/uefi-mkconfig-2.3.ebuild b/sys-boot/uefi-mkconfig/uefi-mkconfig-2.3.ebuild new file mode 100644 index 000000000000..8b272798d1ff --- /dev/null +++ b/sys-boot/uefi-mkconfig/uefi-mkconfig-2.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info optfeature + +DESCRIPTION="Automatic management of UEFI entries" +HOMEPAGE="https://github.com/Biosias/uefi-mkconfig" +SRC_URI="https://github.com/Biosias/uefi-mkconfig/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + app-shells/bash + sys-boot/efibootmgr +" + +CONFIG_CHECK="EFI_STUB" + +src_install() { + dobin uefi-mkconfig + einstalldocs +} + +pkg_postinst() { + elog "uefi-mkconfig: Automatic management of UEFI entries" + elog "Run uefi-mkconfig while having all efi partitions mounted" + elog "Please use with care, this package was tested on a limited number of machines" + elog "Some problems may arise due to different implementations of UEFI" + elog "Don't forget to add kernel commands to the configuration file before using this package!" + elog + optfeature "Add UEFI entries on kernel installation " \ "sys-kernel/installkernel[-systemd,efistub]" +}