summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelfattah <a.abfattah@gmail.com>2023-06-08 07:36:47 +0300
committerArmin Kuster <akuster808@gmail.com>2023-06-11 10:40:33 -0400
commit440e1578198f2dceff2346d4503d58da5f1c892c (patch)
tree835f88f74f3b8cd47ab43fd76f246f582d728a0a
parent180dac9aece2f9ae50566762103c2088e0b868fd (diff)
downloadmeta-security-440e1578198f2dceff2346d4503d58da5f1c892c.tar.gz
swtpm: fix parser error when using USERADDEXTENSION="useradd-staticids"
pass the required argument to --home-dir fixes: Bugzilla-15034 Signed-off-by: Ahmed Abdelfattah <a.abfattah@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-tpm/recipes-tpm/swtpm/swtpm_0.8.0.bb2
1 files changed, 1 insertions, 1 deletions
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}"
36 36
37USERADD_PACKAGES = "${PN}" 37USERADD_PACKAGES = "${PN}"
38GROUPADD_PARAM:${PN} = "--system ${TSS_USER}" 38GROUPADD_PARAM:${PN} = "--system ${TSS_USER}"
39USERADD_PARAM:${PN} = "--system -g ${TSS_GROUP} --home-dir \ 39USERADD_PARAM:${PN} = "--system -g ${TSS_GROUP} --home-dir / \
40 --no-create-home --shell /bin/false ${BPN}" 40 --no-create-home --shell /bin/false ${BPN}"
41 41
42 42