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

Unified Diff: src/platform/memento_softwareupdate/software_update.sh

Issue 1556022: Factory Installer. (Closed)
Patch Set: fixes for review Created 10 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 | « src/platform/memento_softwareupdate/ping_omaha.sh ('k') | src/scripts/build_image » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/memento_softwareupdate/software_update.sh
diff --git a/src/platform/memento_softwareupdate/software_update.sh b/src/platform/memento_softwareupdate/software_update.sh
index 1d7bd11c9e99e2291495bf5b654147b1b3c680ab..ec2c3a626cf7c9d1ca3e6487b073e722c9a10d54 100755
--- a/src/platform/memento_softwareupdate/software_update.sh
+++ b/src/platform/memento_softwareupdate/software_update.sh
@@ -13,6 +13,12 @@ if [ -n "$DEVKIT_URL" ]; then
exit 0
fi
+# Exit immediately if it's a factory install machine
+FACTORY_INSTALL=$(grep ^FACTORY_INSTALL= /etc/lsb-release | cut -d = -f 2-)
+if [ -n "$FACTORY_INSTALL" ]; then
+ exit 0
+fi
+
if [ -z "$1" ]; then
SLEEP_TIME=1800 # seconds; 30 min
else
« no previous file with comments | « src/platform/memento_softwareupdate/ping_omaha.sh ('k') | src/scripts/build_image » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698