blob: cd625e9985329445cc550c6eef115f67eadbaf88 [file] [log] [blame]
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit appid
DESCRIPTION="Gnawty private bsp (meta package to pull in driver/tool deps)"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""
S="${WORKDIR}"
RDEPEND="
chromeos-base/ec-utils
sys-kernel/linux-firmware
"
DEPEND="${RDEPEND}"
src_install() {
doappid "{CCBD0510-9FD5-F4B7-53CA-3EBE6CEA52D3}" "CHROMEBOOK"
# Install platform specific config files for power_manager.
insinto "/usr/share/power_manager/board_specific"
doins "${FILESDIR}"/powerd_prefs/*
# Battery cut-off
dosbin "${FILESDIR}/battery_cut_off.sh"
dosbin "${FILESDIR}/board_factory_wipe.sh"
dosbin "${FILESDIR}/board_factory_reset.sh"
dosbin "${FILESDIR}/board_charge_battery.sh"
dosbin "${FILESDIR}/display_wipe_message.sh"
# Install Bluetooth ID override.
insinto "/etc/bluetooth"
doins "${FILESDIR}/main.conf"
}