blob: 8e426c062c9c3aee50baaa5a5f85759200953fc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# 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
optfeature "Add UEFI entries on kernel installation " \ "sys-kernel/installkernel[-systemd,efistub]"
}
|