From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-firmware/files/, app-emulation/virt-firmware/
Date: Sat, 16 Mar 2024 08:05:11 +0000 (UTC) [thread overview]
Message-ID: <1710576304.9fbd94d535866efbf5d566269c33107b2cb39d0f.andrewammerlaan@gentoo> (raw)
commit: 9fbd94d535866efbf5d566269c33107b2cb39d0f
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 08:04:00 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 08:05:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fbd94d5
app-emulation/virt-firmware: add openrc service script
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-emulation/virt-firmware/files/kernel-bootcfg-boot-successful | 9 +++++++++
.../{virt-firmware-24.2.ebuild => virt-firmware-24.2-r1.ebuild} | 3 ++-
...2_p20240315.ebuild => virt-firmware-24.2_p20240315-r1.ebuild} | 3 ++-
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/app-emulation/virt-firmware/files/kernel-bootcfg-boot-successful b/app-emulation/virt-firmware/files/kernel-bootcfg-boot-successful
new file mode 100644
index 000000000000..5c7ef1a79ccf
--- /dev/null
+++ b/app-emulation/virt-firmware/files/kernel-bootcfg-boot-successful
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="UKI Successful Boot"
+
+start() {
+ kernel-bootcfg --boot-successful --update-csv || return 1
+}
diff --git a/app-emulation/virt-firmware/virt-firmware-24.2.ebuild b/app-emulation/virt-firmware/virt-firmware-24.2-r1.ebuild
similarity index 89%
rename from app-emulation/virt-firmware/virt-firmware-24.2.ebuild
rename to app-emulation/virt-firmware/virt-firmware-24.2-r1.ebuild
index 9fd059ab7234..60c7279c9636 100644
--- a/app-emulation/virt-firmware/virt-firmware-24.2.ebuild
+++ b/app-emulation/virt-firmware/virt-firmware-24.2-r1.ebuild
@@ -35,6 +35,7 @@ python_install_all() {
doman man/*.1
+ doinitd "${FILESDIR}/kernel-bootcfg-boot-successful"
systemd_dounit systemd/kernel-bootcfg-boot-successful.service
exeinto /usr/lib/kernel/install.d
@@ -43,5 +44,5 @@ python_install_all() {
pkg_postinst() {
optfeature "managing UEFI entries on Unified Kernel Image installation and removal" \
- "sys-boot/shim sys-kernel/installkernel[systemd]"
+ "sys-boot/shim sys-kernel/installkernel[systemd,uki]"
}
diff --git a/app-emulation/virt-firmware/virt-firmware-24.2_p20240315.ebuild b/app-emulation/virt-firmware/virt-firmware-24.2_p20240315-r1.ebuild
similarity index 92%
rename from app-emulation/virt-firmware/virt-firmware-24.2_p20240315.ebuild
rename to app-emulation/virt-firmware/virt-firmware-24.2_p20240315-r1.ebuild
index cf1fcb8fc0ef..5eb358eb6555 100644
--- a/app-emulation/virt-firmware/virt-firmware-24.2_p20240315.ebuild
+++ b/app-emulation/virt-firmware/virt-firmware-24.2_p20240315-r1.ebuild
@@ -42,6 +42,7 @@ python_install_all() {
doman man/*.1
+ doinitd "${FILESDIR}/kernel-bootcfg-boot-successful"
systemd_dounit systemd/kernel-bootcfg-boot-successful.service
exeinto /usr/lib/kernel/install.d
@@ -50,5 +51,5 @@ python_install_all() {
pkg_postinst() {
optfeature "managing UEFI entries on Unified Kernel Image installation and removal" \
- "sys-kernel/installkernel[systemd]"
+ "sys-kernel/installkernel[systemd,uki]"
}
next reply other threads:[~2024-03-16 8:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-16 8:05 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-02 12:56 [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-firmware/files/, app-emulation/virt-firmware/ Andrew Ammerlaan
2024-03-20 10:13 Andrew Ammerlaan
2024-03-17 16:53 Andrew Ammerlaan
2024-03-15 17:48 Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1710576304.9fbd94d535866efbf5d566269c33107b2cb39d0f.andrewammerlaan@gentoo \
--to=andrewammerlaan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox