blob: ac7b1c61704f63093a7660ba6a3edb51e8f3fccf [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit udev
DESCRIPTION="Ebuild which pulls in any necessary ebuilds as dependencies
or portage actions."
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="-* arm64 arm"
IUSE="cheets"
S="${WORKDIR}"
RDEPEND="
net-misc/rmtfs
"
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"
if use cheets; then
insinto "/opt/google/containers/android/vendor/etc/init/"
doins "${FILESDIR}/init.cpusets.rc"
fi
# udev rules for codecs
insinto /etc/init
doins "${FILESDIR}/udev-trigger-codec.conf"
udev_dorules "${FILESDIR}/50-media.rules"
}