diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-07-25 12:43:59 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-07-25 14:16:36 +0200 |
commit | b01dc7ccc00ead2bf01a5b0050a4df00a0b99da5 (patch) | |
tree | b7fc8527f8d1c69ceeacf85420617638bd07938d /app-emulation/virt-firmware | |
parent | dev-libs/nss: add 3.102.1 (diff) | |
download | gentoo-b01dc7ccc00ead2bf01a5b0050a4df00a0b99da5.tar.gz gentoo-b01dc7ccc00ead2bf01a5b0050a4df00a0b99da5.tar.bz2 gentoo-b01dc7ccc00ead2bf01a5b0050a4df00a0b99da5.zip |
app-emulation/virt-firmware: add 24.7
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'app-emulation/virt-firmware')
-rw-r--r-- | app-emulation/virt-firmware/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/virt-firmware/virt-firmware-24.7.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app-emulation/virt-firmware/Manifest b/app-emulation/virt-firmware/Manifest index 8181799f3918..6b3b4e5e76c5 100644 --- a/app-emulation/virt-firmware/Manifest +++ b/app-emulation/virt-firmware/Manifest @@ -1 +1,2 @@ DIST virt-firmware-24.4.tar.gz 111964 BLAKE2B 16005a6f911abf227988abaedd45237d44d403f367abd3c2d413f899a6c3e7db2a62edcd36b7408263f101a0f0a20bbea83bf51f7f798077311b478dfc6c9fc1 SHA512 3b13df25177fe5c20e460e2d82453e23ae96cb657f1228ff1c061db4c4197eba719a4d7f51a90fec60a4de2da9a0e9d3f056d53011bd4f61df7f40b706911a1d +DIST virt_firmware-24.7.tar.gz 114229 BLAKE2B a5b6bf39a72ce68622bbc4f75505633b92c322e4a02ab0384bb3b618abfbeeb19cfb057b5333ae53042732b131dcaa475c2c920922c920b0d0c21ef4185ad5b9 SHA512 1cd209b500e0ec1a5b8284b72b499bd16e998fd9489db6c8f8e3b49befb6186c5c09c95b2761254696b479daff1afaf2bdccb6ca7e115b11eb9a5df847f43628 diff --git a/app-emulation/virt-firmware/virt-firmware-24.7.ebuild b/app-emulation/virt-firmware/virt-firmware-24.7.ebuild new file mode 100644 index 000000000000..925c65c628f1 --- /dev/null +++ b/app-emulation/virt-firmware/virt-firmware-24.7.ebuild @@ -0,0 +1,48 @@ +# 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 + +inherit distutils-r1 optfeature pypi systemd + +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" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pefile[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + eunittest tests +} + +python_install_all() { + distutils-r1_python_install_all + + doman man/*.1 + + doinitd "${FILESDIR}/kernel-bootcfg-boot-successful" + systemd_dounit systemd/kernel-bootcfg-boot-successful.service + + # Use our own provided by sys-kernel/installkernel[efistub,systemd] + #exeinto /usr/lib/kernel/install.d + #doexe systemd/99-uki-uefi-setup.install +} + +pkg_postinst() { + optfeature "automatically updating UEFI configuration on each kernel installation or removal" \ + "sys-kernel/installkernel[systemd,efistub]" +} |