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

Unified Diff: scripts/image_signing/make_dev_firmware.sh

Issue 5878005: Check in tofactory script. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Re-upload after repo sync Created 9 years, 12 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
« no previous file with comments | « scripts/image_signing/common.sh ('k') | scripts/image_signing/make_dev_ssd.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/image_signing/make_dev_firmware.sh
diff --git a/scripts/image_signing/make_dev_firmware.sh b/scripts/image_signing/make_dev_firmware.sh
index f4e7d49d7052c013f91c1bbd371859119c7534ae..f432c0bdd90bf1013eb3f2f9421a8df9f035439f 100755
--- a/scripts/image_signing/make_dev_firmware.sh
+++ b/scripts/image_signing/make_dev_firmware.sh
@@ -26,7 +26,6 @@ DEFINE_boolean force_backup \
$FLAGS_TRUE "Create backup even if source is not live" ""
DEFINE_string backup_dir \
"$DEFAULT_BACKUP_FOLDER" "Path of directory to store firmware backups" ""
-DEFINE_boolean debug $FLAGS_FALSE "Provide debug messages" "d"
# Parse command line
FLAGS "$@" || exit 1
@@ -44,23 +43,6 @@ EXEC_LOG="$(make_temp_file)"
# Functions
# ----------------------------------------------------------------------------
-# Reports error message and exit(1)
-err_die() {
- echo "ERROR: $*" 1>&2
- exit 1
-}
-
-# Returns true if we're running in debug mode
-is_debug_mode() {
- [ "$FLAGS_debug" = $FLAGS_TRUE ]
-}
-
-# Prints messages (in parameters) in debug mode
-debug_msg() {
- if is_debug_mode; then
- echo "DEBUG: $*" 1>&2
- fi
-}
# Reads $IMAGE from $FLAGS_from
read_image() {
« no previous file with comments | « scripts/image_signing/common.sh ('k') | scripts/image_signing/make_dev_ssd.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698