removed bogus patch, added patch name to changes file.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=13
This commit is contained in:
Matthias Gerstner 2017-11-15 12:21:15 +00:00 committed by Git OBS Bridge
parent 177ba37246
commit 45aa70719e
2 changed files with 1 additions and 36 deletions

View File

@ -1,35 +0,0 @@
Index: tpm2-abrmd-1.1.1/dist/tpm2-abrmd.service
===================================================================
--- tpm2-abrmd-1.1.1.orig/dist/tpm2-abrmd.service
+++ /dev/null
@@ -1,16 +0,0 @@
-# copy this file into /etc/systemd/system
-[Unit]
-Description=TPM2 Access Broker and Resource Management Daemon
-
-[Service]
-Type=dbus
-Restart=always
-RestartSec=5
-EnvironmentFile=-/usr/local/etc/default/tpm2-abrmd
-BusName=com.intel.tss2.Tabrmd
-StandardOutput=syslog
-ExecStart=/usr/local/sbin/tpm2-abrmd
-User=tss
-
-[Install]
-WantedBy=multi-user.target
Index: tpm2-abrmd-1.1.1/dist/tpm2-abrmd.service.in
===================================================================
+++ tpm2-abrmd-1.1.1/dist/tpm2-abrmd.service.in
@@ -6,10 +6,10 @@ Description=TPM2 Access Broker and Resou
+Type=dbus
+Restart=always
+RestartSec=5
+EnvironmentFile=-@sysconfdir@/default/tpm2-abrmd
+BusName=com.intel.tss2.Tabrmd
+StandardOutput=syslog
+ExecStart=@SBINDIR@/tpm2-abrmd
+User=tss
+
+[Install]

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Wed Nov 15 11:43:19 UTC 2017 - matthias.gerstner@suse.com
- service_path.patch: fixed broken systemd service unit (bnc#1066123). the
- fix_service_paths.diff: fixed broken systemd service unit (bnc#1066123). the
service unit file in the upstream distribution tarball is already configured
and looks for binaries and configuration files in the /usr/local prefix
which is wrong.