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

Unified Diff: pack_dist/common.sh

Issue 6677151: chromeos-firmware: refine 'incompatibility mode' customization design (Closed) Base URL: ssh://gitrw.chromium.org:9222/firmware.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 | pack_dist/updater.sh » ('j') | pack_dist/updater.sh » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pack_dist/common.sh
diff --git a/pack_dist/common.sh b/pack_dist/common.sh
index d321505748daec7d6a192f8b2666be2b2082a31a..6765b36f039542d7ded9e29e9c564971e12c095e 100644
--- a/pack_dist/common.sh
+++ b/pack_dist/common.sh
@@ -140,3 +140,18 @@ alert_unknown_platform() {
"
}
+# Prints a "incompatible" warning message
+alert_incompatible_firmware() {
+ # Syntax: alert_incompatible_firmware reboot_will_autoupdate
Randall Spangler 2011/04/05 16:42:38 Seems like this should print only one of the two m
Hung-Te 2011/04/06 02:02:51 The original idea was to try update, and still let
+ echo "
+ Your current firmware is NOT compatible and needs a RO update in next boot.
+ Please make sure you've disabled write protection, and manually invoke the
+ following command:
+
+ sudo chromeos-firmwareupdate --mode=factory_install
+ "
+ if [ "$1" = "${FLAGS_TRUE}" ]; then
+ echo "A RO autoupdate is also scheduled in next boot."
+ fi
+}
+
« no previous file with comments | « no previous file | pack_dist/updater.sh » ('j') | pack_dist/updater.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698