commit: b732e73c6f47ab3d78ab857c5ef9cf59dad5ea6a Author: Biosias <jakub <AT> gdos <DOT> sk> AuthorDate: Sat Nov 16 00:32:17 2024 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Sat Nov 16 10:17:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b732e73c
sys-boot/uefi-mkconfig: add 3.2 Signed-off-by: Biosias <jakub <AT> gdos.sk> Closes: https://github.com/gentoo/gentoo/pull/39339 Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org> sys-boot/uefi-mkconfig/Manifest | 1 + sys-boot/uefi-mkconfig/uefi-mkconfig-3.2.ebuild | 36 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/sys-boot/uefi-mkconfig/Manifest b/sys-boot/uefi-mkconfig/Manifest index df2cb1b55cf9..f3d148388533 100644 --- a/sys-boot/uefi-mkconfig/Manifest +++ b/sys-boot/uefi-mkconfig/Manifest @@ -1 +1,2 @@ DIST uefi-mkconfig-2.3.tar.gz 10295 BLAKE2B cae2301b1c181f87efbb47fbb393184ed383d763932999719223a298062cd802c318aeb9a1e4571483fe872b31ee27c86186a1200531d038e4ffe867ac683361 SHA512 730546552739db386249e0f86bce029ccb2695bd4b065326ae91ae92ab350ee387e46b661514b80728e609aa851a78efdda97a86fd7418c6f0044341c393c452 +DIST uefi-mkconfig-3.2.tar.gz 13817 BLAKE2B 2d9d1d37c83e2e0a8b9e833745fee96303aba57d546cb63bd4b6b4447409a19dc48bc7183fcf22ba0cc809e5a68bdbc8fc3989cdbf1c2076a8ea025a21005e0b SHA512 fe9a412d49826151fd1f1363a7961f9339afb8ac869d600063a5ca1595b8a1e53917b3649b3bc3a5f85b0e5a23c9f16ab6e13b453430bbd35ceaa1b478d6eeb6 diff --git a/sys-boot/uefi-mkconfig/uefi-mkconfig-3.2.ebuild b/sys-boot/uefi-mkconfig/uefi-mkconfig-3.2.ebuild new file mode 100644 index 000000000000..eb46eef391d5 --- /dev/null +++ b/sys-boot/uefi-mkconfig/uefi-mkconfig-3.2.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]" +}
