commit: dd29120b58f8166078af9b1e05af7576fec30d58
Author: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 12 18:07:52 2026 +0000
Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Thu Feb 12 18:08:06 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd29120b
app-emulation/virt-firmware: add 26.2
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>
app-emulation/virt-firmware/Manifest | 1 +
.../virt-firmware/virt-firmware-26.2.ebuild | 55 ++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/app-emulation/virt-firmware/Manifest
b/app-emulation/virt-firmware/Manifest
index bae71d250819..dccccdf86269 100644
--- a/app-emulation/virt-firmware/Manifest
+++ b/app-emulation/virt-firmware/Manifest
@@ -2,3 +2,4 @@ DIST virt_firmware-24.11.tar.gz 115385 BLAKE2B
2edfe718fd60dcd8a13b143f9fcf5f6be
DIST virt_firmware-25.10.tar.gz 137685 BLAKE2B
d1ab74eae907048549e2129aa256597752c5219110606bd623e0e6f0b90f88dd38226d8b7a992fe05ef49ab8c4ddf3a917184051715ebd6224cdbda4303754a5
SHA512
2fdf609f0ba335d6064cb595c5e4b465b0a148f258f87292f0b82d1aa653f5bfd1f9b851d36f1c46a94fb8be36d6cd6c5c3f5d633e86d34b8f6159186f872908
DIST virt_firmware-25.12.tar.gz 143352 BLAKE2B
f456a444e529ed7abf9fbba4491b56b1b1f76bf9c9d76c3a82e1c3a716b88c952bd494330680a4b21576a792a516e69b74203126dc4bac688e083185f1589924
SHA512
faa2f8abd0f8f633f2c620a2b7fd6ff91809e2a546b01088154e48d5151426f5b7b6134de0325664028419fe50376214b575f9da25095d2522edb814024ff8dc
DIST virt_firmware-25.4.1.tar.gz 120061 BLAKE2B
ef22266944cae225cf817c9b67a7aae5ee95908be419b870f451f6eba391998be082b1cf8f2dad62ed84551323cb56854b785a93d0c0ff83340fdb9a5f571aeb
SHA512
2f82299415a0bf5dd8874764fe7d71cfe9a12e489657237f6a889288294e69fed9076219ae91a2d60084ae1ffac6bc4f3e2760999e8030aad045cb59ea152367
+DIST virt_firmware-26.2.tar.gz 143457 BLAKE2B
fd0b977539af0cde4059e67e86ddf97c6dcffc3f7b1cf5975d181dd51b698334c8b22b2c6a951da2e39327a0dd43b44d03a05d0ff56be6defb4a48f872ac4e80
SHA512
6e7fa94009da095e15880b6be850b130ea3097394572c01fe0404b6d4bc11117b9ae730ca43408cb02b5ae9dc2671ef5635520dd2c8776bb2b6b68c8246d06c7
diff --git a/app-emulation/virt-firmware/virt-firmware-26.2.ebuild
b/app-emulation/virt-firmware/virt-firmware-26.2.ebuild
new file mode 100644
index 000000000000..2460c7c17d06
--- /dev/null
+++ b/app-emulation/virt-firmware/virt-firmware-26.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2024-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+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 ~loong ~riscv ~x86"
+
+RDEPEND="
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/pefile[${PYTHON_USEDEP}]
+"
+
+# Need systemd-detect-virt
+BDEPEND="
+ test? (
+ sys-apps/systemd
+ )
+"
+
+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]"
+}