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

Side by Side Diff: mod_for_factory_scripts/200patchInitScript

Issue 3262004: Reflect the change that moves startx.sh to a new place. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 3 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) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 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 patch -d ${ROOT_FS_DIR} -Np1 <<EOF 10 patch -d ${ROOT_FS_DIR} -Np1 <<EOF
(...skipping 30 matching lines...) Expand all
41 # found in the LICENSE file. 41 # found in the LICENSE file.
42 42
43 description "Chrome OS factory startup stub" 43 description "Chrome OS factory startup stub"
44 author "chromium-os-dev@googlegroups.com" 44 author "chromium-os-dev@googlegroups.com"
45 45
46 start on started udev 46 start on started udev
47 stop on starting halt or starting reboot 47 stop on starting halt or starting reboot
48 48
49 script 49 script
50 cd /usr/local/autotest 50 cd /usr/local/autotest
51 eval \$(./deps/factory/startx.sh) 51 eval \$(./site_tests/suite_Factory/startx.sh)
52 date >> /var/log/factory.log 52 date >> /var/log/factory.log
53 if [ ! -e factory_started ]; then 53 if [ ! -e factory_started ]; then
54 touch factory_started 54 touch factory_started
55 cp -f site_tests/suite_Factory/control . 55 cp -f site_tests/suite_Factory/control .
56 ./bin/autotest control >> /var/log/factory.log 2>&1 56 ./bin/autotest control >> /var/log/factory.log 2>&1
57 else 57 else
58 ./tools/autotest >> /var/log/factory.log 2>&1 58 ./tools/autotest >> /var/log/factory.log 2>&1
59 fi 59 fi
60 end script 60 end script
61 EOF 61 EOF
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 @@ -7,7 +7,7 @@ 96 @@ -7,7 +7,7 @@
97 97
98 # start as early as possible to allow login screen on hdmi 98 # start as early as possible to allow login screen on hdmi
99 # Need udev to have connected the i2c before we can use it 99 # Need udev to have connected the i2c before we can use it
100 -start on started udev 100 -start on started udev
101 +start on never 101 +start on never
102 stop on starting halt or starting reboot 102 stop on starting halt or starting reboot
103 103
104 # sadly, these can't reference each other. 104 # sadly, these can't reference each other.
105 EOF 105 EOF
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