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

Unified Diff: mod_for_factory_scripts/200patchInitScript

Issue 6759023: cros mod_image_for_factory: don't enable update engine for factory test images (Closed) Base URL: ssh://gitrw.chromium.org:9222/crosutils.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: mod_for_factory_scripts/200patchInitScript
diff --git a/mod_for_factory_scripts/200patchInitScript b/mod_for_factory_scripts/200patchInitScript
index aff0d9e4584d4a7ea2c9b349424961d14500c158..cbe29bcc09ff8238dbe55978dc1d3c6085aa9a96 100755
--- a/mod_for_factory_scripts/200patchInitScript
+++ b/mod_for_factory_scripts/200patchInitScript
@@ -25,6 +25,17 @@ diff -Naur old/etc/init/boot-complete.conf new/etc/init/boot-complete.conf
+start on started udev
EOF
+if [ -r "${ROOT_FS_DIR}/etc/init/update-engine.conf" ]; then
+ patch -d "${ROOT_FS_DIR}" -Np1 <<EOF
+diff -Na -U 0 old/etc/init/update-engine.conf new/etc/init/
+--- old/etc/init/update-engine.conf 2010-08-05 16:32:55.000000000 -0700
++++ new/etc/init/update-engine.conf 2010-08-05 16:32:45.000000000 -0700
+@@ -8 +8 @@
+-start on starting system-services and started dbus
++start on never
+EOF
+fi
+
if [ -r "${ROOT_FS_DIR}/etc/init/chrontel.conf" ]; then
patch -d "${ROOT_FS_DIR}" -Np1 <<EOF
diff -Nau old/etc/init/chrontel.conf new/etc/init/
« 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