]> git.pld-linux.org Git - packages/tpm2-tss.git/blob - tpm2-tss-install.patch
- added install patch (don't try to create user/group on make install)
[packages/tpm2-tss.git] / tpm2-tss-install.patch
1 --- tpm2-tss-3.1.0/configure.ac.orig    2021-05-17 20:42:46.000000000 +0200
2 +++ tpm2-tss-3.1.0/configure.ac 2021-06-14 21:52:12.075225467 +0200
3 @@ -470,15 +470,6 @@
4  AM_CONDITIONAL(SYSD_SYSUSERS, test "x$systemd_sysusers" = "xyes")
5  AC_CHECK_PROG(systemd_tmpfiles, systemd-tmpfiles, yes)
6  AM_CONDITIONAL(SYSD_TMPFILES, test "x$systemd_tmpfiles" = "xyes")
7 -# Check all tools used by make install
8 -AS_IF([test "$HOSTOS" = "Linux"],
9 -      [ERROR_IF_NO_PROG([groupadd])
10 -       ERROR_IF_NO_PROG([useradd])
11 -       ERROR_IF_NO_PROG([id])
12 -       ERROR_IF_NO_PROG([chown])
13 -       ERROR_IF_NO_PROG([chmod])
14 -       ERROR_IF_NO_PROG([mkdir])
15 -       ERROR_IF_NO_PROG([setfacl])])
16  
17  AC_SUBST([PATH])
18  
19 --- tpm2-tss-3.1.0/Makefile.am.orig     2021-06-14 21:53:10.804907301 +0200
20 +++ tpm2-tss-3.1.0/Makefile.am  2021-06-14 21:53:13.818224310 +0200
21 @@ -689,14 +689,6 @@
22  EXTRA_DIST += dist/tpm-udev.rules
23  
24  install-dirs:
25 -if HOSTOS_LINUX
26 -if SYSD_SYSUSERS
27 -       @echo "systemd-sysusers $(DESTDIR)$(sysconfdir)/sysusers.d/tpm2-tss.conf"
28 -       @systemd-sysusers $(DESTDIR)$(sysconfdir)/sysusers.d/tpm2-tss.conf || echo "WARNING Failed to create the tss user and group"
29 -else
30 -       @echo "call make_tss_user_and_group"
31 -       @$(call make_tss_user_and_group) || echo "WARNING Failed to create the tss user and group"
32 -endif
33  if SYSD_TMPFILES
34         @echo "systemd-tmpfiles --create $(DESTDIR)$(sysconfdir)/tmpfiles.d/tpm2-tss-fapi.conf"
35         @systemd-tmpfiles --create $(DESTDIR)$(sysconfdir)/tmpfiles.d/tpm2-tss-fapi.conf|| echo "WARNING Failed to create the FAPI directories with the correct permissions"
This page took 0.054103 seconds and 3 git commands to generate.