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

Unified Diff: chromeos-postinst

Issue 6795002: installer: force updating firmware in factory install mode. (Closed) Base URL: ssh://gitrw.chromium.org:9222/installer.git@master
Patch Set: Created 9 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos-postinst
diff --git a/chromeos-postinst b/chromeos-postinst
index bdecbd28db1684ab416340786210ddc114de502f..fe67bda983c2c074d1dbf03a3ed3675b32a19ee0 100755
--- a/chromeos-postinst
+++ b/chromeos-postinst
@@ -104,8 +104,8 @@ update_firmware() {
-x "${FIRMWARE_UPDATE_SCRIPT}" ]; then
FIRMWARE_UPDATE_MODE=""
if [ -n "${IS_FACTORY_INSTALL}" ]; then
- # factory-mode
- FIRMWARE_UPDATE_MODE="--mode=factory_install"
+ # factory-mode (--force must be the first parameter when being invoked)
+ FIRMWARE_UPDATE_MODE="--force --mode=factory_install"
elif [ -n "${IS_RECOVERY_INSTALL}" ]; then
# recovery-mode
FIRMWARE_UPDATE_MODE="--mode=recovery"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698