Chromium Code Reviews| Index: chromeos-base/devkey-firmware/devkey-firmware-9999.ebuild |
| diff --git a/chromeos-base/devkey-firmware/devkey-firmware-9999.ebuild b/chromeos-base/devkey-firmware/devkey-firmware-9999.ebuild |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9b23a2e2ceb0a5c5404be7b90d6b9da0f54595c0 |
| --- /dev/null |
| +++ b/chromeos-base/devkey-firmware/devkey-firmware-9999.ebuild |
| @@ -0,0 +1,47 @@ |
| +# Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| +# Distributed under the terms of the GNU General Public License v2 |
| + |
| +EAPI=2 |
| + |
| +inherit cros-workon |
| + |
| +DESCRIPTION="ChromeOS Deverloper Key Firmware Utility" |
|
Randall Spangler
2010/10/14 21:46:20
typo: Developer
|
| +HOMEPAGE="http://src.chromium.org" |
| +LICENSE="BSD" |
| +SLOT="0" |
| +#KEYWORDS="~x86" |
| +KEYWORDS="x86" |
| +IUSE="" |
| + |
| +DEPEND="x86? ( chromeos-base/vboot_reference )" |
| + |
| +# We need to borrow things fromr vboot-reference |
|
Randall Spangler
2010/10/14 21:46:20
typo: from
|
| +CROS_WORKON_LOCALNAME="vboot_reference" |
| +CROS_WORKON_PROJECT="vboot_reference" |
| + |
| +src_compile() { |
| + # do nothing |
| + true |
| +} |
| + |
| +src_install() { |
| + dst_dir="/usr/sbin/firmware/dev" |
| + dodir "$dst_dir" |
| + |
| + einfo "copying scripts" |
| + src_script_dir="scripts/image_signing" |
| + exeinto "$dst_dir" |
| + doexe $src_script_dir/common.sh |
| + doexe $src_script_dir/resign_firmwarefd.sh |
| + doexe $src_script_dir/make_dev_firmware.sh |
| + |
| + einfo "copying dev keys" |
| + src_devkey_dir="tests/devkeys" |
| + insinto "$dst_dir/keys" |
| + doins "$src_devkey_dir"/* |
| + |
| + einfo "copying resources" |
| + src_rsrc_dir="$FILESDIR/rsrc" |
| + insinto "$dst_dir/rsrc" |
| + doins "$src_rsrc_dir"/* |
| +} |