From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/dracut/, sys-kernel/dracut/files/
Date: Fri, 26 May 2023 20:27:43 +0000 (UTC) [thread overview]
Message-ID: <1685132859.bf4a09fa9787fab26223f3b5bb0619219f3ec6c9.floppym@gentoo> (raw)
commit: bf4a09fa9787fab26223f3b5bb0619219f3ec6c9
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri May 26 20:26:45 2023 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri May 26 20:27:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf4a09fa
sys-kernel/dracut: add fallback in case systemd.pc is not installed
Bug: https://bugs.gentoo.org/765208
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
.../dracut/{dracut-059-r1.ebuild => dracut-059-r2.ebuild} | 0
sys-kernel/dracut/files/059-uefi-split-usr.patch | 14 ++++++++------
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/sys-kernel/dracut/dracut-059-r1.ebuild b/sys-kernel/dracut/dracut-059-r2.ebuild
similarity index 100%
rename from sys-kernel/dracut/dracut-059-r1.ebuild
rename to sys-kernel/dracut/dracut-059-r2.ebuild
diff --git a/sys-kernel/dracut/files/059-uefi-split-usr.patch b/sys-kernel/dracut/files/059-uefi-split-usr.patch
index 1b1f1348a223..8adb88076130 100644
--- a/sys-kernel/dracut/files/059-uefi-split-usr.patch
+++ b/sys-kernel/dracut/files/059-uefi-split-usr.patch
@@ -1,6 +1,6 @@
https://github.com/dracutdevs/dracut/pull/2365
-From afb2019ddc6ffe6e59df3d3dc9929a840bd09bc8 Mon Sep 17 00:00:00 2001
+From 3462e0ac6f3562a5247bbeda2dc41eaf4e4ebf5e Mon Sep 17 00:00:00 2001
From: Mike Gilbert <floppym@gentoo.org>
Date: Fri, 26 May 2023 15:56:45 -0400
Subject: [PATCH] Fix path to UEFI stub on split-usr systems
@@ -15,24 +15,26 @@ Instead, grab 'prefix' from systemd.pc and store it in 'systemd_prefix'.
Bug: https://bugs.gentoo.org/765208
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
---
- dracut.sh | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
+ dracut.sh | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dracut.sh b/dracut.sh
-index bbb34697..9da59561 100755
+index bbb34697..52a83061 100755
--- a/dracut.sh
+++ b/dracut.sh
-@@ -1389,6 +1389,9 @@ esac
+@@ -1389,6 +1389,11 @@ esac
abs_outfile=$(readlink -f "$outfile") && outfile="$abs_outfile"
+[[ -n $systemd_prefix ]] \
+ || systemd_prefix=$(pkg-config systemd --variable=prefix 2> /dev/null)
++
++[[ -n $systemd_prefix ]] || systemd_prefix=/usr
+
[[ -d $dracutsysrootdir$systemdutildir ]] \
|| systemdutildir=$(pkg-config systemd --variable=systemdutildir 2> /dev/null)
-@@ -1467,7 +1470,7 @@ if [[ ! $print_cmdline ]]; then
+@@ -1467,7 +1472,7 @@ if [[ ! $print_cmdline ]]; then
esac
if ! [[ -s $uefi_stub ]]; then
next reply other threads:[~2023-05-26 20:27 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-26 20:27 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-03 21:20 [gentoo-commits] repo/gentoo:master commit in: sys-kernel/dracut/, sys-kernel/dracut/files/ Sam James
2025-08-16 19:22 Nowa Ammerlaan
2025-08-04 18:41 Nowa Ammerlaan
2025-02-09 9:30 Nowa Ammerlaan
2024-11-14 18:15 Nowa Ammerlaan
2024-11-09 14:31 Andrew Ammerlaan
2024-07-16 16:52 Andrew Ammerlaan
2024-07-14 8:21 Andrew Ammerlaan
2024-03-17 16:53 Andrew Ammerlaan
2024-02-03 7:43 Andrew Ammerlaan
2024-02-02 13:11 Andrew Ammerlaan
2024-01-15 9:46 Andrew Ammerlaan
2023-12-20 7:43 Florian Schmaus
2023-12-12 19:07 Mike Gilbert
2023-11-09 16:09 Mike Gilbert
2023-11-09 2:37 Mike Gilbert
2022-12-23 23:21 Mike Gilbert
2022-07-05 14:30 Mike Gilbert
2022-07-04 23:29 Mike Gilbert
2022-06-07 23:47 Sam James
2022-05-29 1:39 Mike Gilbert
2021-07-23 19:16 Mike Gilbert
2021-06-17 15:02 Mike Gilbert
2020-12-20 17:27 Mike Gilbert
2020-12-15 20:49 Mike Gilbert
2020-12-15 20:49 Mike Gilbert
2020-08-07 16:59 Mike Gilbert
2020-03-10 19:50 Mike Gilbert
2018-10-09 19:23 Mike Gilbert
2018-01-07 16:56 Mike Gilbert
2017-07-04 2:52 Mike Gilbert
2015-08-16 10:36 Amadeusz Żołnowski
2015-08-12 23:09 Amadeusz Żołnowski
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=1685132859.bf4a09fa9787fab26223f3b5bb0619219f3ec6c9.floppym@gentoo \
--to=floppym@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