[Buildroot] [PATCH 1/1] package/tpm2-tss: fix build on host without groupadd

Fabrice Fontaine fontaine.fabrice at gmail.com
Sun Nov 7 17:37:49 UTC 2021


Override check for groupadd as already done for setfacl since commit
d9123dd79956124ab1b39427764882b61fe44261 to avoid the following build
failure:

checking for groupadd... no
configure: error: Missing required program 'groupadd': ensure it is installed and on PATH.

Fixes:
 - http://autobuild.buildroot.org/results/5accac06abbd3980484d8e2667a5446ec5d85bc1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/tpm2-tss/tpm2-tss.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/tpm2-tss/tpm2-tss.mk b/package/tpm2-tss/tpm2-tss.mk
index 4927154d16..f2b5f32171 100644
--- a/package/tpm2-tss/tpm2-tss.mk
+++ b/package/tpm2-tss/tpm2-tss.mk
@@ -17,6 +17,7 @@ TPM2_TSS_DEPENDENCIES = liburiparser openssl host-pkgconf
 TPM2_TSS_AUTORECONF = YES
 
 TPM2_TSS_CONF_OPTS = \
+	ac_cv_prog_result_groupadd=yes \
 	ac_cv_prog_result_setfacl=yes \
 	--with-crypto=ossl \
 	--disable-doxygen-doc \
-- 
2.33.0




More information about the buildroot mailing list