mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-15 22:31:59 +01:00
commit
5c0a6f1c7e
@ -3,8 +3,9 @@ Description=TPM remote access daemon
|
||||
Requires=tcsd.service
|
||||
|
||||
[Service]
|
||||
User=tss
|
||||
ExecStart=/bin/tpmd
|
||||
ExecStart=/bin/tpmd 23179
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@ -7,7 +7,7 @@ EGIT_REPO_URI="git://github.com/coreos/go-tspi.git"
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
else
|
||||
EGIT_COMMIT="1708d740a1fec08db39d9c15960ed6cc3a7e974a"
|
||||
EGIT_COMMIT="27182e3e7b1dfcfb398b5408a619abc4f652a38b"
|
||||
KEYWORDS="amd64 arm64"
|
||||
fi
|
||||
|
||||
@ -21,10 +21,10 @@ DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
go_build "${COREOS_GO_PACKAGE}/tpmd"
|
||||
go_build "${COREOS_GO_PACKAGE}/tpmown"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${GOBIN}/*
|
||||
systemd_dounit "${FILESDIR}"/tpmd.service
|
||||
systemd_enable_service multi-user.target tpmd.service
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user