summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2021-09-05 20:13:58 -0400
committerMike Gilbert <floppym@gentoo.org>2021-09-05 20:13:58 -0400
commit087f6ff3f00a4e0a84bec0278fcb8228d7d9aa12 (patch)
tree269b49117206032bdcb64ad5e20a794365777a77 /sys-kernel/dracut
parentdev-python/xarray: Keyword 0.19.0 ppc, #804136 (diff)
downloadgentoo-087f6ff3f00a4e0a84bec0278fcb8228d7d9aa12.tar.gz
gentoo-087f6ff3f00a4e0a84bec0278fcb8228d7d9aa12.tar.bz2
gentoo-087f6ff3f00a4e0a84bec0278fcb8228d7d9aa12.zip
sys-kernel/dracut: fix typo in tpm2-tss module
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-kernel/dracut')
-rw-r--r--sys-kernel/dracut/dracut-055-r3.ebuild (renamed from sys-kernel/dracut/dracut-055-r2.ebuild)1
-rw-r--r--sys-kernel/dracut/files/055-tpm2-tss-typo.patch23
2 files changed, 24 insertions, 0 deletions
diff --git a/sys-kernel/dracut/dracut-055-r2.ebuild b/sys-kernel/dracut/dracut-055-r3.ebuild
index 5d3767efdfca..cdc58e186f3c 100644
--- a/sys-kernel/dracut/dracut-055-r2.ebuild
+++ b/sys-kernel/dracut/dracut-055-r3.ebuild
@@ -63,6 +63,7 @@ PATCHES=(
"${FILESDIR}"/055-fix-crypt-remove-quotes-from-cryptsetupopts.patch
"${FILESDIR}"/055-fix-base-do-not-quote-initargs-for-switch_root.patch
"${FILESDIR}"/055-fix-usrmount-do-not-empty-_dev-variable.patch
+ "${FILESDIR}"/055-tpm2-tss-typo.patch
"${FILESDIR}"/gentoo-ldconfig-paths-r1.patch
)
diff --git a/sys-kernel/dracut/files/055-tpm2-tss-typo.patch b/sys-kernel/dracut/files/055-tpm2-tss-typo.patch
new file mode 100644
index 000000000000..a04496a29ca8
--- /dev/null
+++ b/sys-kernel/dracut/files/055-tpm2-tss-typo.patch
@@ -0,0 +1,23 @@
+From 8b17105bed69ed90582a13d97d95ee19e6581365 Mon Sep 17 00:00:00 2001
+From: Matthias Berndt <matthias_berndt@gmx.de>
+Date: Tue, 1 Jun 2021 19:32:48 +0200
+Subject: [PATCH] fix(tpm2-tss): typo in depends()
+
+There is no systemd-udev module, only systemd-udevd
+---
+ modules.d/91tpm2-tss/module-setup.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/modules.d/91tpm2-tss/module-setup.sh b/modules.d/91tpm2-tss/module-setup.sh
+index 28af22a31..361131d66 100755
+--- a/modules.d/91tpm2-tss/module-setup.sh
++++ b/modules.d/91tpm2-tss/module-setup.sh
+@@ -17,7 +17,7 @@ check() {
+ depends() {
+
+ # This module has external dependency on other module(s).
+- echo systemd-sysusers systemd-udev
++ echo systemd-sysusers systemd-udevd
+ # Return 0 to include the dependent module(s) in the initramfs.
+ return 0
+