diff mbox series

[meta-security] swtpm: fix parser error when using USERADDEXTENSION="useradd-staticids"

Message ID 20230608043647.2894293-1-a.abfattah@gmail.com
State New
Headers show
Series [meta-security] swtpm: fix parser error when using USERADDEXTENSION="useradd-staticids" | expand

Commit Message

Ahmed Abdelfattah June 8, 2023, 4:36 a.m. UTC
pass the required argument to --home-dir
fixes: Bugzilla-15034

Signed-off-by: Ahmed Abdelfattah <a.abfattah@gmail.com>
---
 meta-tpm/recipes-tpm/swtpm/swtpm_0.8.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm_0.8.0.bb b/meta-tpm/recipes-tpm/swtpm/swtpm_0.8.0.bb
index 614b07f..da86c47 100644
--- a/meta-tpm/recipes-tpm/swtpm/swtpm_0.8.0.bb
+++ b/meta-tpm/recipes-tpm/swtpm/swtpm_0.8.0.bb
@@ -36,7 +36,7 @@  EXTRA_OECONF += "--with-tss-user=${TSS_USER} --with-tss-group=${TSS_GROUP}"
 
 USERADD_PACKAGES = "${PN}"
 GROUPADD_PARAM:${PN} = "--system ${TSS_USER}"
-USERADD_PARAM:${PN} = "--system -g ${TSS_GROUP} --home-dir  \
+USERADD_PARAM:${PN} = "--system -g ${TSS_GROUP} --home-dir / \
     --no-create-home  --shell /bin/false ${BPN}"