Skip to contentSkip to conversation

swtpm: fix parser error when using USERADDEXTENSION="useradd-staticids"

PATCH New Ahmed Abdelfattah 1 participant 1 message Jun 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 swtpm: fix parser error when using USERADDEXTENSION="useradd-staticids"

pass the required argument to --home-dir
fixes: Bugzilla-15034

---
 meta-tpm/recipes-tpm/swtpm/swtpm_0.8.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-tpm/recipes-tpm/swtpm/swtpm_0.8.0.bb +1 -1
index 614b07f..da86c47 100644
@@ -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}"
 
 
Signature · 1 line
2.34.1