From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/dracut/files/, sys-kernel/dracut/
Date: Mon, 24 Mar 2025 01:55:56 +0000 (UTC) [thread overview]
Message-ID: <1742781337.1909b3bee6c4aa79d71591433830c7381795c89d.sam@gentoo> (raw)
commit: 1909b3bee6c4aa79d71591433830c7381795c89d
Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Mon Mar 24 00:51:08 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 01:55:37 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1909b3be
sys-kernel/dracut: do not call mdadm with full path
Bug: https://bugs.gentoo.org/951284
Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/41255
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{dracut-106-r1.ebuild => dracut-106-r2.ebuild} | 2 ++
.../dracut/files/dracut-106-fix-mdraid-module.patch | 17 +++++++++++++++++
2 files changed, 19 insertions(+)
diff --git a/sys-kernel/dracut/dracut-106-r1.ebuild b/sys-kernel/dracut/dracut-106-r2.ebuild
similarity index 98%
rename from sys-kernel/dracut/dracut-106-r1.ebuild
rename to sys-kernel/dracut/dracut-106-r2.ebuild
index 8dfb986ced53..db0e73237fc2 100644
--- a/sys-kernel/dracut/dracut-106-r1.ebuild
+++ b/sys-kernel/dracut/dracut-106-r2.ebuild
@@ -103,6 +103,8 @@ PATCHES=(
"${FILESDIR}"/${PN}-106-acct-user-group-gentoo.patch
# https://github.com/dracut-ng/dracut-ng/pull/1207
"${FILESDIR}"/${PN}-106-fix-rngd-module.patch
+ # https://github.com/dracut-ng/dracut-ng/pull/1250
+ "${FILESDIR}"/${PN}-106-fix-mdraid-module.patch
)
pkg_setup() {
diff --git a/sys-kernel/dracut/files/dracut-106-fix-mdraid-module.patch b/sys-kernel/dracut/files/dracut-106-fix-mdraid-module.patch
new file mode 100644
index 000000000000..3692d1fc2fd8
--- /dev/null
+++ b/sys-kernel/dracut/files/dracut-106-fix-mdraid-module.patch
@@ -0,0 +1,17 @@
+https://github.com/dracut-ng/dracut-ng/pull/1250
+diff --git a/modules.d/90mdraid/module-setup.sh b/modules.d/90mdraid/module-setup.sh
+index 8ce5f2ee..b0ab8411 100755
+--- a/modules.d/90mdraid/module-setup.sh
++++ b/modules.d/90mdraid/module-setup.sh
+@@ -46,7 +46,7 @@ cmdline() {
+ [[ ${host_fs_types[$dev]} != *_raid_member ]] && continue
+
+ UUID=$(
+- /sbin/mdadm --examine --export "$dev" \
++ mdadm --examine --export "$dev" \
+ | while read -r line || [[ "$line" ]]; do
+ [[ ${line#MD_UUID=} == "$line" ]] && continue
+ printf "%s" "${line#MD_UUID=} "
+--
+2.48.1
+
next reply other threads:[~2025-03-24 1:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-24 1:55 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-03 17:40 [gentoo-commits] repo/gentoo:master commit in: sys-kernel/dracut/files/, sys-kernel/dracut/ Nowa Ammerlaan
2024-11-10 2:21 Mike Gilbert
2024-11-01 17:10 Andrew Ammerlaan
2024-09-30 9:09 Andrew Ammerlaan
2023-12-13 9:19 Andrew Ammerlaan
2023-09-22 6:10 Andrew Ammerlaan
2023-07-20 3:39 Sam James
2023-05-26 20:03 Mike Gilbert
2022-12-25 2:53 Mike Gilbert
2021-12-27 16:51 Mike Gilbert
2021-09-06 0:14 Mike Gilbert
2021-08-17 17:24 Mike Gilbert
2021-07-23 19:16 Mike Gilbert
2021-06-14 18:42 Mike Gilbert
2020-07-03 11:18 Thomas Deutschmann
2020-03-10 19:50 Mike Gilbert
2019-12-29 19:39 Mike Gilbert
2019-01-21 14:23 Mike Gilbert
2018-03-24 18:03 Mike Gilbert
2017-02-09 18:47 Patrick McLean
2017-02-09 18:47 Patrick McLean
2016-11-04 18:39 Mike Gilbert
2015-08-16 10:04 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=1742781337.1909b3bee6c4aa79d71591433830c7381795c89d.sam@gentoo \
--to=sam@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