| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI="4" |
| CROS_WORKON_COMMIT="dd5dfe1bad9f7825a1d5cfa17fad96966c3f9966" |
| CROS_WORKON_TREE="ba43033e6cf28907b27e61ed0b7de3f1d0acdc75" |
| CROS_WORKON_PROJECT="chromiumos/platform2" |
| CROS_WORKON_LOCALNAME="platform2" |
| CROS_WORKON_DESTDIR="${S}" |
| |
| inherit cros-workon |
| |
| DESCRIPTION="Additional upstart jobs that will be installed on test images" |
| HOMEPAGE="http://www.chromium.org/" |
| LICENSE="BSD-Google" |
| SLOT="0" |
| KEYWORDS="*" |
| IUSE="X" |
| |
| src_unpack() { |
| cros-workon_src_unpack |
| S+="/init" |
| } |
| |
| src_install() { |
| insinto /etc/init |
| doins test-init/*.conf |
| dosbin test-init/job-filter |
| |
| use X || rm -f "${D}"/etc/init/vnc.conf |
| } |
| |