| # Copyright 2018 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| EAPI=5 |
| |
| inherit udev |
| |
| DESCRIPTION="Ebuild which pulls in any necessary ebuilds as dependencies |
| or portage actions." |
| |
| LICENSE="BSD-Google" |
| SLOT="0" |
| KEYWORDS="-* arm64 arm" |
| S="${WORKDIR}" |
| IUSE="" |
| |
| # Add dependencies on other ebuilds from within this board overlay |
| RDEPEND="" |
| DEPEND="${RDEPEND}" |
| |
| src_install() { |
| # Override default CPU clock speed governor. |
| insinto "/etc" |
| doins "${FILESDIR}/cpufreq.conf" |
| |
| # Install cpuset adjustments. |
| insinto "/etc/init" |
| doins "${FILESDIR}/platform-cpusets.conf" |
| |
| insinto "/opt/google/containers/android/vendor/etc/init/" |
| doins "${FILESDIR}/init.cpusets.rc" |
| |
| # udev rules for codecs |
| insinto "/etc/init" |
| doins "${FILESDIR}/udev-trigger-codec.conf" |
| udev_dorules "${FILESDIR}/50-media.rules" |
| } |