diff mbox series

[meta-security,wrynose,03/14] swtpm: Add missing useradd inherit

Message ID f6ec42c446996eabe949e7058de13e70af939256.1795883420.git.scott.murray@konsulko.com
State New
Headers show
Series Assorted updates 11/28 | expand

Commit Message

Scott Murray Nov. 28, 2026, 4:54 p.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.10.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm_0.10.0.bb b/meta-tpm/recipes-tpm/swtpm/swtpm_0.10.0.bb
index 8472f02..8488d01 100644
--- a/meta-tpm/recipes-tpm/swtpm/swtpm_0.10.0.bb
+++ b/meta-tpm/recipes-tpm/swtpm/swtpm_0.10.0.bb
@@ -12,7 +12,7 @@  SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.10;protocol=h
 PE = "2"
 
 PARALLEL_MAKE = ""
-inherit autotools pkgconfig perlnative
+inherit autotools pkgconfig perlnative useradd
 
 TSS_USER = "tss"
 TSS_GROUP = "tss"