sys-kernel/dracut: fix typo in tpm2-tss module

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2021-09-05 20:13:58 -04:00
parent 35cf0cddb4
commit 087f6ff3f0
2 changed files with 24 additions and 0 deletions

View File

@@ -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
)

View File

@@ -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