mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-16 23:02:20 +01:00
commit
5c0a6f1c7e
@ -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
|
||||||
|
|||||||
@ -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
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user