blob: cbb3f8198c734dd29b4faf68122debd86cd5d101 [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_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"
}