[Buildroot] [git commit] package/tpm2-tss: fix build on host without groupadd

Peter Korsgaard peter at korsgaard.com
Sun Nov 7 20:22:48 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=c8f847c4f4dd5a49ad2c01717ffa41f7827d06b1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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>
Signed-off-by: Peter Korsgaard <peter at korsgaard.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 73764141a1..88ec892f20 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 \



More information about the buildroot mailing list