Merge pull request #1848 from mjg59/master

Update go-tspi
This commit is contained in:
mjg59 2016-03-24 15:11:32 -07:00
commit 5c0a6f1c7e
3 changed files with 5 additions and 4 deletions

View File

@ -3,8 +3,9 @@ Description=TPM remote access daemon
Requires=tcsd.service Requires=tcsd.service
[Service] [Service]
User=tss ExecStart=/bin/tpmd 23179
ExecStart=/bin/tpmd Restart=always
RestartSec=0
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -7,7 +7,7 @@ EGIT_REPO_URI="git://github.com/coreos/go-tspi.git"
if [[ "${PV}" == 9999 ]]; then if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm64" KEYWORDS="~amd64 ~arm64"
else else
EGIT_COMMIT="1708d740a1fec08db39d9c15960ed6cc3a7e974a" EGIT_COMMIT="27182e3e7b1dfcfb398b5408a619abc4f652a38b"
KEYWORDS="amd64 arm64" KEYWORDS="amd64 arm64"
fi fi
@ -21,10 +21,10 @@ DEPEND="${RDEPEND}"
src_compile() { src_compile() {
go_build "${COREOS_GO_PACKAGE}/tpmd" go_build "${COREOS_GO_PACKAGE}/tpmd"
go_build "${COREOS_GO_PACKAGE}/tpmown"
} }
src_install() { src_install() {
dobin ${GOBIN}/* dobin ${GOBIN}/*
systemd_dounit "${FILESDIR}"/tpmd.service systemd_dounit "${FILESDIR}"/tpmd.service
systemd_enable_service multi-user.target tpmd.service
} }