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

Unified Diff: scripts/image_signing/make_dev_ssd.sh

Issue 5878005: Check in tofactory script. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Remove trailing whitespace Created 10 years 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: scripts/image_signing/make_dev_ssd.sh
diff --git a/scripts/image_signing/make_dev_ssd.sh b/scripts/image_signing/make_dev_ssd.sh
index c189eb6777b6c9468121b312e4539ac5920095dd..2d46e4017b41ec7c4daa9b19539013ad5ef63e47 100755
--- a/scripts/image_signing/make_dev_ssd.sh
+++ b/scripts/image_signing/make_dev_ssd.sh
@@ -23,7 +23,6 @@ DEFINE_boolean remove_rootfs_verification \
$FLAGS_FALSE "Modify kernel boot config to disable rootfs verification" ""
DEFINE_string backup_dir \
"$DEFAULT_BACKUP_FOLDER" "Path of directory to store kernel backups" ""
-DEFINE_boolean debug $FLAGS_FALSE "Provide debug messages" "d"
DEFINE_string save_config "" \
"Base filename to store kernel configs to, instead of resigning." ""
DEFINE_string set_config "" \
@@ -42,23 +41,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
-}
# Removes rootfs verification from kernel boot parameter
remove_rootfs_verification() {

Powered by Google App Engine
This is Rietveld 408576698