diff -Nru tpm2-tss-0.98+20160226.d4f23cc/debian/changelog tpm2-tss-0.98+20160226.d4f23cc/debian/changelog --- tpm2-tss-0.98+20160226.d4f23cc/debian/changelog 2016-03-25 04:10:50.000000000 +0000 +++ tpm2-tss-0.98+20160226.d4f23cc/debian/changelog 2016-04-04 21:46:26.000000000 +0000 @@ -1,3 +1,14 @@ +tpm2-tss (0.98+20160226.d4f23cc-0ubuntu2) xenial; urgency=medium + + * debian/libtss2-utils.tpm2-resourcemgr.service: ship a systemd unit to be + able to use TPM 2.0 tools as soon as libtss2-utils is installed. + (LP: #1566027) + * debian/libtss2-utils.tpm2-resourcemgr.default: ship a simple defaults file + to customize start options for the systemd unit. + * debian/rules, debian/control: enable dh-system for the new init script. + + -- Mathieu Trudel-Lapierre Mon, 04 Apr 2016 17:14:13 -0400 + tpm2-tss (0.98+20160226.d4f23cc-0ubuntu1) xenial; urgency=medium * Initial release. (LP: #1561834) diff -Nru tpm2-tss-0.98+20160226.d4f23cc/debian/control tpm2-tss-0.98+20160226.d4f23cc/debian/control --- tpm2-tss-0.98+20160226.d4f23cc/debian/control 2016-03-24 23:32:40.000000000 +0000 +++ tpm2-tss-0.98+20160226.d4f23cc/debian/control 2016-04-04 21:19:43.000000000 +0000 @@ -1,8 +1,9 @@ Source: tpm2-tss Section: libs Priority: optional -Maintainer: Mathieu Trudel-Lapierre -Build-Depends: debhelper (>= 9), dh-autoreconf, autoconf, autoconf-archive, libtool +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Mathieu Trudel-Lapierre +Build-Depends: debhelper (>= 9), dh-autoreconf, dh-systemd, autoconf, autoconf-archive, libtool Homepage: https://github.com/01org/TPM2.0-TSS Standards-Version: 3.9.7 diff -Nru tpm2-tss-0.98+20160226.d4f23cc/debian/libtss2-utils.tpm2-resourcemgr.default tpm2-tss-0.98+20160226.d4f23cc/debian/libtss2-utils.tpm2-resourcemgr.default --- tpm2-tss-0.98+20160226.d4f23cc/debian/libtss2-utils.tpm2-resourcemgr.default 1970-01-01 00:00:00.000000000 +0000 +++ tpm2-tss-0.98+20160226.d4f23cc/debian/libtss2-utils.tpm2-resourcemgr.default 2016-04-04 21:13:00.000000000 +0000 @@ -0,0 +1,2 @@ +# Options for resourcemgr +resourcemgr_opts="" diff -Nru tpm2-tss-0.98+20160226.d4f23cc/debian/libtss2-utils.tpm2-resourcemgr.service tpm2-tss-0.98+20160226.d4f23cc/debian/libtss2-utils.tpm2-resourcemgr.service --- tpm2-tss-0.98+20160226.d4f23cc/debian/libtss2-utils.tpm2-resourcemgr.service 1970-01-01 00:00:00.000000000 +0000 +++ tpm2-tss-0.98+20160226.d4f23cc/debian/libtss2-utils.tpm2-resourcemgr.service 2016-04-04 21:12:29.000000000 +0000 @@ -0,0 +1,10 @@ +[Unit] +Description=TPM resource manager daemon + +[Service] +EnvironmentFile=-/etc/default/tpm2-resourcemgr +ExecStart=/usr/sbin/resourcemgr $resourcemgr_opts +StandardOutput=syslog + +[Install] +WantedBy=multi-user.target diff -Nru tpm2-tss-0.98+20160226.d4f23cc/debian/rules tpm2-tss-0.98+20160226.d4f23cc/debian/rules --- tpm2-tss-0.98+20160226.d4f23cc/debian/rules 2016-03-24 23:32:05.000000000 +0000 +++ tpm2-tss-0.98+20160226.d4f23cc/debian/rules 2016-04-04 21:41:38.000000000 +0000 @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh $@ --with autoreconf + dh $@ --with autoreconf,systemd override_dh_autoreconf: dh_autoreconf ./bootstrap @@ -15,3 +15,6 @@ override_dh_install: find debian/tmp \( -name '*.la' -o -name '*.a' \) -delete dh_install --list-missing + +override_dh_installinit: + dh_installinit -plibtss2-utils --name=tpm2-resourcemgr