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

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: refine usage help and other key-incompatibility related issues Created 9 years, 8 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/crosutil.sh » ('j') | pack_dist/crosutil.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..7e936f13aed28d4ca3f23a494615eb44ade54939 100644
--- a/pack_dist/common.sh
+++ b/pack_dist/common.sh
@@ -140,3 +140,22 @@ alert_unknown_platform() {
"
}
+# Prints a "incompatible" warning message
+alert_incompatible_firmware() {
+ # Syntax: alert_incompatible_firmware reboot_will_autoupdate
+ echo "
+ Your current RO firmware is NOT compatible with the new RW firmware, and needs
+ a RO update. Please make sure you've DISABLED write protection for such
+ special update."
+
+ if [ "$1" = "${FLAGS_TRUE}" ]; then
+ echo "A RO autoupdate is also scheduled in next boot."
+ fi
+
+ echo "
+ If you want to start a manual update immediately, please use command:
+
+ sudo chromeos-firmwareupdate --mode=incompatible_update
+ "
+}
+
« no previous file with comments | « no previous file | pack_dist/crosutil.sh » ('j') | pack_dist/crosutil.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698