You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.2 KiB
53 lines
1.2 KiB
3 months ago
|
# Copyright 2024 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
PYTHON_COMPAT=( python3_{10..12} )
|
||
|
DISTUTILS_USE_PEP517=setuptools
|
||
2 months ago
|
PYPI_NO_NORMALIZE=1
|
||
3 months ago
|
|
||
2 months ago
|
inherit distutils-r1 optfeature pypi systemd
|
||
3 months ago
|
|
||
|
DESCRIPTION="Tools for ovmf/armvirt firmware volumes"
|
||
|
HOMEPAGE="
|
||
|
https://gitlab.com/kraxel/virt-firmware
|
||
|
https://pypi.org/project/virt-firmware/
|
||
|
"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
3 months ago
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||
3 months ago
|
|
||
2 months ago
|
# Currently requires files in /boot and read/write to efivars
|
||
|
RESTRICT="test"
|
||
|
|
||
3 months ago
|
RDEPEND="
|
||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||
|
dev-python/pefile[${PYTHON_USEDEP}]
|
||
2 months ago
|
"
|
||
3 months ago
|
|
||
3 months ago
|
distutils_enable_tests unittest
|
||
|
|
||
|
python_test() {
|
||
|
eunittest tests
|
||
|
}
|
||
|
|
||
|
python_install_all() {
|
||
|
distutils-r1_python_install_all
|
||
|
|
||
|
doman man/*.1
|
||
|
|
||
3 months ago
|
doinitd "${FILESDIR}/kernel-bootcfg-boot-successful"
|
||
3 months ago
|
systemd_dounit systemd/kernel-bootcfg-boot-successful.service
|
||
|
|
||
2 months ago
|
# Use our own provided by sys-kernel/installkernel[efistub,systemd]
|
||
3 months ago
|
#exeinto /usr/lib/kernel/install.d
|
||
|
#doexe systemd/99-uki-uefi-setup.install
|
||
3 months ago
|
}
|
||
3 months ago
|
|
||
|
pkg_postinst() {
|
||
|
optfeature "automatically updating UEFI configuration on each kernel installation or removal" \
|
||
|
"sys-kernel/installkernel[systemd,efistub]"
|
||
|
}
|