Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3508)

Unified Diff: chromeos-base/devkey-firmware/devkey-firmware-9999.ebuild

Issue 3776003: devkey-firmware: new ebuild package to change firmware to dev key (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/chromiumos-overlay.git
Patch Set: add into chromeos-dev so every dev build will have it Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"/*
+}
« no previous file with comments | « chromeos-base/chromeos-dev/chromeos-dev-0.1.0.ebuild ('k') | chromeos-base/devkey-firmware/files/rsrc/bmpfv.bin » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698