diff options
author | Biosias <jakub@gdos.sk> | 2024-07-19 14:09:07 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-07-19 15:33:06 +0200 |
commit | 20e1db0da342b534083e473f76519fddf0a43933 (patch) | |
tree | abdde7d762e107a0cd1085367ad6a7fe3b5ff695 /sys-boot | |
parent | sys-apps/kexec-tools: Add 2.0.29 (diff) | |
download | gentoo-20e1db0da342b534083e473f76519fddf0a43933.tar.gz gentoo-20e1db0da342b534083e473f76519fddf0a43933.tar.bz2 gentoo-20e1db0da342b534083e473f76519fddf0a43933.zip |
sys-boot/uefi-mkconfig: add 2.2
Signed-off-by: Biosias <jakub@gdos.sk>
Closes: https://github.com/gentoo/gentoo/pull/37615
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sys-boot')
-rw-r--r-- | sys-boot/uefi-mkconfig/Manifest | 1 | ||||
-rw-r--r-- | sys-boot/uefi-mkconfig/uefi-mkconfig-2.2.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/sys-boot/uefi-mkconfig/Manifest b/sys-boot/uefi-mkconfig/Manifest index 122231a0410e..c7468bb45622 100644 --- a/sys-boot/uefi-mkconfig/Manifest +++ b/sys-boot/uefi-mkconfig/Manifest @@ -1,2 +1,3 @@ DIST uefi-mkconfig-1.6.tar.gz 8620 BLAKE2B 57a48be15a976cc628f04e263fcbc1c56296f9d2b8ff11e70ab9239723f168e08775042fa86ab49e85d212aa719e6465acf883debe46f4a7f3d57edf3d07dd09 SHA512 df4595f5c05b812e7199fc19564bd899b345952f23014f9f0851e7da4b812b93583d52b9955edde3f7d05c182f29b120b7201d69493931813b2caf8ffd2e6f14 DIST uefi-mkconfig-2.1.tar.gz 10083 BLAKE2B c78a2f38b66c643c23442c5159d70272099babea9dc5bc7eb68628ff09cf307375a32e7886ed8e597dc05233aa49d6aa13ec86466b0aaebd33663667848867fe SHA512 466f4d902e84ec19d17f4b43bacced6372c5c0a469c245e267a5166b0a2d2a3ee2c1409d83129cc5088305367e0a53249990f45119b8c5522235fd65a19dc5fb +DIST uefi-mkconfig-2.2.tar.gz 10176 BLAKE2B 7078c23d39dc4e6b80785502c0d186ec1c8ca4ad4b758bcfdf4b74df38e47cef23952e5139d185a9b2b1253cd69f018145c63254f3a421952c70371e33fb1911 SHA512 5489aacc869afb57dc4d48deba4306b141ea08fa5763b8486f156b3b01aecf987f7927b70e7acbb1abe9e145b1d1d4ef57cd93e12d78bec10cc9e61a37ccf02c diff --git a/sys-boot/uefi-mkconfig/uefi-mkconfig-2.2.ebuild b/sys-boot/uefi-mkconfig/uefi-mkconfig-2.2.ebuild new file mode 100644 index 000000000000..8b272798d1ff --- /dev/null +++ b/sys-boot/uefi-mkconfig/uefi-mkconfig-2.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]" +} |