Obsolete golang-120
[oi-userland.git] / components / library / trousers / patches / 01-tss-user.patch
blob9f1d91038f9c8245aedd8b46bc267c3cc2eaf853
1 --- trousers-0.3.11.2/dist/Makefile.am.orig
2 +++ trousers-0.3.11.2/dist/Makefile.am
3 @@ -2,15 +2,15 @@
4 fedora/fedora.initrd.tcsd
5 install: install-exec-hook
6 if test ! -e ${DESTDIR}/@sysconfdir@/tcsd.conf; then mkdir -p ${DESTDIR}/@sysconfdir@ && cp tcsd.conf ${DESTDIR}/@sysconfdir@; fi
7 - /bin/chown tss:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true
8 - /bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
9 +# /bin/chown tss:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true
10 +# /bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
12 install-exec-hook:
13 - /usr/sbin/groupadd tss || true
14 - /usr/sbin/useradd -r tss -g tss || true
15 +# /usr/sbin/groupadd tss || true
16 +# /usr/sbin/useradd -r tss -g tss || true
17 /bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi'
18 - /bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm || true
19 - /bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm
20 +# /bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm || true
21 +# /bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm
23 uninstall-hook:
24 /usr/sbin/userdel tss || true