blob: fc3c76f020cc45516c757ffd09b304d5dcb46172 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# This ebuild only cares about its own FILESDIR and ebuild file, so it tracks
# the canonical empty project.
CROS_WORKON_COMMIT="3a01873e59ec25ecb10d1b07ff9816e69f3bbfee"
CROS_WORKON_TREE="8ce164efd78fcb4a68e898d8c92c7579657a49b1"
CROS_WORKON_PROJECT="chromiumos/infra/build/empty-project"
CROS_WORKON_LOCALNAME="empty-project"
inherit cros-workon
DESCRIPTION="Ebuild which pulls in any necessary ebuilds as dependencies
or portage actions."
LICENSE="BSD-Google"
KEYWORDS="-* amd64 x86"
IUSE=""
# Add dependencies on other ebuilds from within this board overlay
DEPEND=""
RDEPEND="
${DEPEND}
!<chromeos-base/chromeos-bsp-sarien-0.0.2
"
src_install() {
# All wilco devices contain an RTC in the EC that needs to
# be kept in sync with local time so that charge scheduling happens
# at the correct time. This upstart script will do that.
insinto /etc/init
doins "${FILESDIR}/wilco_sync_ec_rtc.conf"
doins "${FILESDIR}/wilco_ec_mute.conf"
}