| # Copyright 2017 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=5 |
| |
| DESCRIPTION="Ebuild to support the Chrome OS Cr50 device." |
| |
| LICENSE="BSD-Google" |
| SLOT="0" |
| KEYWORDS="*" |
| |
| RDEPEND=" |
| chromeos-base/ec-utils |
| !<chromeos-base/chromeos-cr50-0.0.1-r38 |
| " |
| |
| S="${WORKDIR}" |
| |
| src_install() { |
| insinto /etc/init |
| doins "${FILESDIR}/"cr50-update.conf |
| doins "${FILESDIR}"/cr50-result.conf |
| |
| exeinto /usr/share/cros |
| doexe "${FILESDIR}"/cr50-update.sh |
| doexe "${FILESDIR}"/cr50-set-board-id.sh |
| } |