blob: fd9c8e3c3f303da3f7ae160c61e15085ee8e085d [file] [log] [blame]
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
CROS_WORKON_COMMIT="15570b83e46a01c8b94acfad216fa40f1ae6cdc9"
CROS_WORKON_TREE="0a613e915a7f3925eb632125b3373a191d0656db"
CROS_WORKON_PROJECT="chromiumos/platform/crostestutils"
inherit cros-workon
DESCRIPTION="Test tool that recovers bricked Chromium OS test devices"
HOMEPAGE="http://www.chromium.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
CROS_WORKON_LOCALNAME="crostestutils"
RDEPEND="
chromeos-base/chromeos-init
dev-lang/python
"
# These are all either bash / python scripts. No actual builds DEPS.
DEPEND=""
# Use default src_compile and src_install which use Makefile.
src_install() {
pushd "${S}/recover_duts" || die
exeinto "/usr/bin"
doexe recover_duts.py
pushd "hooks" || die
dodir /usr/bin/hooks
exeinto /usr/bin/hooks
doexe *
popd
}