diff mbox series

[meta-security,scarthgap,02/27] swtpm: Add missing useradd inherit

Message ID 7e7c2b499b2e2867e7e51e0b8d9bac3264ce96e0.1796019369.git.scott.murray@konsulko.com
State New
Headers show
Series Assorted updates 11/30 | expand

Commit Message

Scott Murray Nov. 30, 2026, 6:42 a.m. UTC
The swtpm recipe has USERADD and GROUPADD definitions, but has never
inherited the useradd bbclass, fix that.

Reported-by: Ehsan Emami <ehsan@emami.net>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
---
 meta-tpm/recipes-tpm/swtpm/swtpm_0.8.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm_0.8.1.bb b/meta-tpm/recipes-tpm/swtpm/swtpm_0.8.1.bb
index 7a538da..b67913b 100644
--- a/meta-tpm/recipes-tpm/swtpm/swtpm_0.8.1.bb
+++ b/meta-tpm/recipes-tpm/swtpm/swtpm_0.8.1.bb
@@ -13,7 +13,7 @@  PE = "1"
 S = "${WORKDIR}/git"
 
 PARALLEL_MAKE = ""
-inherit autotools pkgconfig perlnative
+inherit autotools pkgconfig perlnative useradd
 
 TSS_USER="tss"
 TSS_GROUP="tss"