blob: c02e5bafc82a69df944a1bed9204d2d41f8ec01c [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="37b2e13c99f1f2b9429569378c297aab852c8f53"
CROS_WORKON_TREE="479f684d89d4aec71d0670e12a6707161833f8f2"
CROS_WORKON_INCREMENTAL_BUILD=1
CROS_WORKON_LOCALNAME="platform2"
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_OUTOFTREE_BUILD=1
PLATFORM_SUBDIR="attestation"
inherit cros-workon platform user
DESCRIPTION="Attestation service for Chromium OS"
HOMEPAGE="http://www.chromium.org/"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE=""
RDEPEND="
chromeos-base/libchromeos
chromeos-base/system_api
"
DEPEND="
${RDEPEND}
"
src_install() {
insinto /etc/dbus-1/system.d
doins server/org.chromium.Attestation.conf
insinto /etc/init
doins server/attestationd.conf
dosbin "${OUT}"/attestationd
dobin "${OUT}"/attestation
insinto /usr/share/policy
newins server/attestationd-seccomp-${ARCH}.policy attestationd-seccomp.policy
}
platform_pkg_test() {
return 0
}