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

Unified Diff: chromeos-postinst

Issue 6691012: check whether we are running on mario before executing mario specific workarounds. (Closed) Base URL: ssh://git@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 3aa9a7406b82609af485c63cdd43df40538ff06f..d427c35cc370d0f355644b6539c04ee136a051cb 100755
--- a/chromeos-postinst
+++ b/chromeos-postinst
@@ -127,7 +127,7 @@ update_firmware() {
# we explicitly prompt here.
if [ "$?" -eq 0 ]; then
echo "Firmware update complete."
- if [ -n "${RECHECK_AFTER_UPDATE}" ]; then
+ if [ "$(mosys platform name)" = "Mario" -a -n "${RECHECK_AFTER_UPDATE}" ]; then
Bill Richardson 2011/03/14 19:23:28 I'd suggest using if [ expr1 ] && [ expr2 ]; th
echo "Check for kernel subkey changes"
# FIXME(wfrichar): This is a platform-specific workaround for
# chrome-os-partner:1654. It should probably go into the firmware
« 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