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

Side by Side Diff: mod_for_factory_scripts/200patchInitScript

Issue 6764010: mod_image_for_factor: never touch firmware for factory test images (Closed) Base URL: ssh://gitrw.chromium.org:9222/crosutils.git@master
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 echo "Applying patch to init scripts." 7 echo "Applying patch to init scripts."
8 8
9 touch "${ROOT_FS_DIR}/root/.factory_test" 9 touch "${ROOT_FS_DIR}/root/.factory_test"
10 touch "${ROOT_FS_DIR}/root/.leave_firmware_alone"
10 11
11 patch -d "${ROOT_FS_DIR}" -Np1 <<EOF 12 patch -d "${ROOT_FS_DIR}" -Np1 <<EOF
12 --- old/etc/init/ui.conf 2010-04-28 21:28:38.886069000 -0700 13 --- old/etc/init/ui.conf 2010-04-28 21:28:38.886069000 -0700
13 +++ new/etc/init/ui.conf 2010-04-28 21:29:42.676163000 -0700 14 +++ new/etc/init/ui.conf 2010-04-28 21:29:42.676163000 -0700
14 @@ -11 +11 @@ 15 @@ -11 +11 @@
15 -start on stopping startup 16 -start on stopping startup
16 +start on never 17 +start on never
17 EOF 18 EOF
18 19
19 patch -d "${ROOT_FS_DIR}" -Np1 <<EOF 20 patch -d "${ROOT_FS_DIR}" -Np1 <<EOF
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 # Use of this source code is governed by a BSD-style license that can be 56 # Use of this source code is governed by a BSD-style license that can be
56 # found in the LICENSE file. 57 # found in the LICENSE file.
57 58
58 -start on starting ui 59 -start on starting ui
59 +start on starting factory 60 +start on starting factory
60 61
61 respawn 62 respawn
62 63
63 EOF 64 EOF
64 fi 65 fi
OLDNEW
« 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