Add --leave_firmware_alone flag for BIOS testing purposes.

BUG=chromium-os:13100
TEST=none (BIOS team will test by using it)

Change-Id: Ifedeac1a0d13d36a069531bfaba4bdb7b3457406

Review URL: http://codereview.chromium.org/6696013
This commit is contained in:
Bill Richardson
2011-03-14 22:21:08 -07:00
parent 276f846a14
commit 192d7e14f6

View File

@@ -18,6 +18,8 @@ DEFINE_string dev_mode "" \
"(build-info) Tag as a developer mode build (1 to enable, 0 to disable)"
DEFINE_string update_firmware "" \
"(auto-update) Force updating firmware (1 to enable, 0 to disable)"
DEFINE_string leave_firmware_alone "" \
"(auto-update) For BIOS development use ONLY (1 to enable, 0 to disable)"
DEFINE_string forget_usernames "" \
"(session-manager) Forget usernames (1 to enable, 0 to disable)"
DEFINE_string leave_core "" \
@@ -141,6 +143,12 @@ process_all_tags() {
/root/.force_update_firmware \
"${FLAGS_update_firmware}"
process_tag "${do_modification}" \
"(auto-update) leave_firmware_alone" \
"${rootfs}" \
/root/.leave_firmware_alone \
"${FLAGS_leave_firmware_alone}"
process_tag "${do_modification}" \
"(session-manager) forget_usernames" \
"${rootfs}" \