# Copyright 2015 The Chromium OS Authors. All rights reserved. | |
# Distributed under the terms of the GNU General Public License v2 | |
EAPI=4 | |
DESCRIPTION="Install configuration data for Atmel chips" | |
LICENSE="BSD-Google" | |
SLOT="0" | |
KEYWORDS="*" | |
IUSE="" | |
RDEPEND="chromeos-base/touch_updater" | |
S=${WORKDIR} | |
src_install() { | |
local touch_config_path="/opt/google/touch/config" | |
local config_file="1664s.raw" | |
local config_link="/lib/firmware/maxtouch-ts.cfg" | |
insinto "${touch_config_path}" | |
doins "${FILESDIR}/${config_file}" | |
dosym "${touch_config_path}/${config_file}" "${config_link}" | |
} |