1 --- tpm2-tss-3.2.0/configure.ac.orig 2022-02-21 18:18:21.091907007 +0100
2 +++ tpm2-tss-3.2.0/configure.ac 2022-02-21 18:31:28.940972195 +0100
3 @@ -484,12 +484,12 @@ AS_IF([test "x$enable_integration" = "xy
5 # Check for systemd helper tools used by make install
6 AC_CHECK_PROG(systemd_sysusers, systemd-sysusers, yes)
7 -AM_CONDITIONAL(SYSD_SYSUSERS, test "x$systemd_sysusers" = "xyes")
8 +AM_CONDITIONAL(SYSD_SYSUSERS, false)
9 AC_CHECK_PROG(systemd_tmpfiles, systemd-tmpfiles, yes)
10 -AM_CONDITIONAL(SYSD_TMPFILES, test "x$systemd_tmpfiles" = "xyes")
11 +AM_CONDITIONAL(SYSD_TMPFILES, false)
13 # Check all tools used by make install
14 -AS_IF([test "$HOSTOS" = "Linux"],
16 [ AC_CHECK_PROG(useradd, useradd, yes)
17 AC_CHECK_PROG(groupadd, groupadd, yes)
18 AC_CHECK_PROG(adduser, adduser, yes)
19 --- tpm2-tss-3.2.0/Makefile.am.orig 2022-02-21 18:32:44.257230839 +0100
20 +++ tpm2-tss-3.2.0/Makefile.am 2022-02-21 18:32:46.707217566 +0100
21 @@ -636,21 +636,7 @@ define make_parent_dir
24 define make_tss_user_and_group
25 - if type -p groupadd > /dev/null; then \
26 - id -g tss 2>/dev/null || groupadd --system tss; \
28 - id -g tss 2>/dev/null || \
29 - addgroup --system tss; \
31 - if type -p useradd > /dev/null; then \
32 - id -u tss 2>/dev/null || \
33 - useradd --system --home-dir / --shell `type -p nologin` \
34 - --no-create-home -g tss tss; \
36 - id -u tss 2>/dev/null || \
37 - adduser --system --home / --shell `type -p nologin` \
38 - --no-create-home --ingroup tss tss; \