diff mbox series

[meta-security,2/4] swtpm: Add missing useradd inherit

Message ID 9d9461f7fa7da22f654a1c368e31a21db537266b.1793659376.git.scott.murray@konsulko.com
State New
Headers show
Series Assorted updates 11/02 | expand

Commit Message

Scott Murray Nov. 2, 2026, 10:47 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"