blob: 927325ed8892b100c4397a631f8f156413263e32 [file] [log] [blame]
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
CROS_WORKON_COMMIT="16def367c4cacda23d61bd7ebe786642297e5084"
CROS_WORKON_TREE="0ed07da05f5d390508d6a8a2c0af58eaedd3eb26"
CROS_WORKON_PROJECT="chromiumos/platform/disk_updater"
CROS_WORKON_OUTOFTREE_BUILD=1
inherit cros-workon
DESCRIPTION="Root disk firmware updater"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE=""
DEPEND=""
RDEPEND="sys-apps/hdparm"
src_test() {
tests/chromeos-disk-firmware-test.sh || die "unittest failed"
}
src_install() {
insinto "/etc/init"
doins "scripts/chromeos-disk-firmware-update.conf"
dosbin "scripts/chromeos-disk-firmware-update.sh"
}