diff options
Diffstat (limited to 'meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss/fixup_hosttools.patch')
-rw-r--r-- | meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss/fixup_hosttools.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss/fixup_hosttools.patch b/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss/fixup_hosttools.patch new file mode 100644 index 0000000..8822d1b --- /dev/null +++ b/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss/fixup_hosttools.patch @@ -0,0 +1,40 @@ +From ab120a9642516cdfdae5c5b8a91e42e2c9898172 Mon Sep 17 00:00:00 2001 +From: Valentin Kunin <kunin@google.com> +Date: Mon, 20 May 2024 21:09:27 +0000 +Subject: [PATCH] revert configure: add checks for all tools used by make + install + +Not appropriate for cross build env. + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Armin Kuster <akuster808@gmail.com> +Signed-off-by: Valentin Kunin <kunin@google.com> +--- + configure.ac | 11 ----------- + 1 file changed, 11 deletions(-) + +diff --git a/configure.ac b/configure.ac +index eb6051ea..a52c4725 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -663,17 +663,6 @@ AM_CONDITIONAL([SYSD_SYSUSERS], [test "x$systemd_sysusers" = "xyes" && test "x$s + AC_CHECK_PROG(systemd_tmpfiles, systemd-tmpfiles, yes) + AM_CONDITIONAL([SYSD_TMPFILES], [test "x$systemd_tmpfiles" = "xyes" && test "x$tmpfilesdir" != "xno"]) + +-# Check all tools used by make install +-AS_IF([test "$HOSTOS" = "Linux" && test "x$systemd_sysusers" != "xyes"], +- [ AC_CHECK_PROG(useradd, useradd, yes) +- AC_CHECK_PROG(groupadd, groupadd, yes) +- AC_CHECK_PROG(adduser, adduser, yes) +- AC_CHECK_PROG(addgroup, addgroup, yes) +- AS_IF([test "x$addgroup" != "xyes" && test "x$groupadd" != "xyes" ], +- [AC_MSG_ERROR([addgroup or groupadd are needed.])]) +- AS_IF([test "x$adduser" != "xyes" && test "x$useradd" != "xyes" ], +- [AC_MSG_ERROR([adduser or useradd are needed.])])]) +- + AC_SUBST([PATH]) + + dnl --------- Doxy Gen ----------------------- +-- +2.45.0.rc1.225.g2a3ae87e7f-goog |