Commit Graph

22 Commits

Author SHA1 Message Date
Olof Johansson
dd5e04a875 fix factory scripts based on nvrm changes
Change-Id: Iaa0d1d8325894d3e300275bab99a04e4f83ec9b4

BUG=chromium-os:13971
TEST=Run mod_image_for_test -f, make sure it doesn't break.

Review URL: http://codereview.chromium.org/6826001
2011-04-08 10:00:01 -07:00
Hung-Te Lin
a05ed3172e mod_image_for_factor: never touch firmware for factory test images
we don't want any possibility for firmware to be changed in factory setup

BUG=none
TEST=build_image; image_to_usb --factory

Change-Id: Ibef767ea621193afb7fbca5ea96120a506891dcb

R=nsanders@chromium.org

Review URL: http://codereview.chromium.org/6764010
2011-04-01 15:31:02 +08:00
Hung-Te Lin
9cac2869c7 cros mod_image_for_factory: don't enable update engine for factory test images
To get best factory test image performance, we should disable update engine.

BUG=chromium-os:13613
TEST=image_to_usb --factory --to=FACTORY
     then verified /etc/init/update-engine.conf is disabled.

Change-Id: Ifb7b6c821f434ee68625ffea0eb7907c38d77315

R=nsanders@chromium.org

Review URL: http://codereview.chromium.org/6759023
2011-03-30 18:42:43 +08:00
J. Richard Barnette
ce8384d7c6 Build factory test images using the new factorytest-init package.
This also deletes the code from mod_for_factory_scripts/200patchInitScript
that created the files that now come from the new package.

BUG=chromium-os:13258
TEST=Build and boot a factory test image

Review URL: http://codereview.chromium.org/6665048

Change-Id: I115d1a2e3afe2fdefc0e07247b21b67e0cf9cc62
2011-03-21 10:00:09 -07:00
Jay Kim
e9d1bbd6d0 Adding "modprobe i2c-dev" before running the script
Change-Id: Iaebc0e55264e5ccda11bea9858438cf67665a357

BUG=chrome-os-partner:2718
TEST=

Review URL: http://codereview.chromium.org/6680021
2011-03-12 19:37:55 -08:00
Nick Sanders
c750ac2c4d crosutils/mod_for_factory_scripts: don't change VT on factory service stop
In http://codereview.chromium.org/6567004 in order to help developers stopping
factory UI, we've added an "chvt 2". However changing foreground terminal may
hang when executing "shutdown -r" inside Wipe test.

Removing the "chvt" call solved this issue. The only side effect is that
developers executing "initctl stop factory" may end seeing a black scren - and
they need to hit Ctrl-Alt-F2 to get the console back.

BUG=chrome-os-partner:2631
TEST=build a factory image then verified following steps:
     (1) in VT2, do "initctl stop factory, then C-A-F2: screen changed to VT2.
     (2) Execute factory tests until Wipe: reboots immediately when X closed
     (3) Execute Reboot in HWID test: reboots immediately when 'reboot' is ACTIVE

Change-Id: Ib6f44a6ad07db08862929179d0fe21cbbcc2b22a

Review URL: http://codereview.chromium.org/6621041
2011-03-07 10:06:31 -08:00
Hung-Te Lin
fa2dd93743 crosutils: fixing factory upstart script to allow stopping factory test ui.
Developers may want to run their own factory test UI after finishing the
Google official one, so the "factory" test should be stoppable.

BUG=chrome-os-partner:2456
TEST=build a factory image, install and start factory testing UI,
     then switch to VT2, login and type: "initctl stop factory"
     the screen should switch to a virtual terminal (VT2) without
     hanging / reboot.

Change-Id: I6a9d1c951d48d448f5c83c5f645ea531e8fd1499

Review URL: http://codereview.chromium.org/6567004
2011-02-24 16:32:35 +08:00
Hung-Te Lin
da36382f03 crosutils: let factory test uses its own results folder
The factory tests should not use default results folder, otherwise a developer
running autotests by command line would corrupt the whole factory test
framework.

Since tools/autotest cannot support additional parameters and our state (to
continue) is clear, the command is also changed to directly invoke bin/autotest.

BUG=chrome-os-partner:2378
TEST=manually patched into a factory test device and verified factory
     UI works at new boot and a reboot.

Change-Id: I9f6ef31114bdda740319072c6f9ac624f6850b95

Review URL: http://codereview.chromium.org/6529046
2011-02-16 18:37:03 +08:00
Daniel Erat
3a13f91195 scripts: Update factory mod diff for boot-complete job.
I'm changing the boot-complete init script to start on
login-prompt-visible instead of login-prompt-ready in
http://codereview.chromium.org/5868004/.

This also adds a missing description and fixes an outdated
email address.

BUG=chromium-os:10349
TEST=ran mod_image_for_test.sh with --factory and with --factory_install and checked that resulting image contained boot-complete.conf change

Review URL: http://codereview.chromium.org/5975002

Change-Id: I709bc2b4eaaccd222b31388633522c32514206ac
2010-12-17 16:36:02 -08:00
Kenneth Waters
b2d2212bb9 mod_for_factory: Fix factory images for tegra2
- Conditionally patch chrontel.conf
- Add a patch for nvrm to start on factory, so that X can start.

BUG=crosbug.com/p/1721
TEST=Built and run factory image for tegra2_seaboard

Change-Id: Ied87b6d959f940ef8e99e124ab419fdeea48aa26

Review URL: http://codereview.chromium.org/5126005
2010-11-24 12:29:40 -08:00
Nick Sanders
1c4026c7a7 Fix factory patching
BUG=7535
TEST=build factory, no errors, verify patches.

Change-Id: I480633cc7a0824cd2dfab82acd6a82f952cd7daf

Review URL: http://codereview.chromium.org/5332004
2010-11-23 22:03:25 -08:00
Nick Sanders
711efd8aec Clean var formatting in mod_for_factory
BUG=chrome-os-partner:1583
TEST=built factory image

Change-Id: Icc15295ca3ce6113ea22a988e2e755ab513a43de

Review URL: http://codereview.chromium.org/5219001
2010-11-17 22:10:16 -08:00
Nick Sanders
f57f1166cd Trigger factory from udev-addon
Change-Id: I8a9df6ff7be3edb8160541409f15fa7b8ee7b725

BUG=7535
TEST=

Review URL: http://codereview.chromium.org/4259002
(cherry picked from commit 18897f619deaa8067c57dc7575c3de2445f58aa9)

Review URL: http://codereview.chromium.org/5116005
2010-11-17 21:55:02 -08:00
Elly Jones
01693fec80 scripts: Remove bogus patch to software-update.conf
This caused a build break after http://codereview.chromium.org/3995007 was
committed, since we try to patch a now-nonexistent file.

BUG=None
TEST=Adhoc
./mod_image_for_test.sh --factory_install doesn't hang

Change-Id: Iac299c850765eedfcefcffb80c385b0e8c0fa277
Signed-off-by: Elly Jones <ellyjones@chromium.org>
Signed-off-by: Kliegs <kliegs@chromium.org>

Review URL: http://codereview.chromium.org/3973004
2010-10-22 09:47:36 -04:00
Tom Wai-Hong Tam
1e0dcbd15c Reflect the change that moves startx.sh to a new place.
Reflect the change: http://codereview.chromium.org/3277004

BUG=chrome-os-partner:501 fix the unexpected EOF error
TEST=run image_to_usb --factory and start factory ui on a device

Review URL: http://codereview.chromium.org/3262004

Change-Id: Ieec1237d51c0ca3041be7934405ba44b31f04ea6
2010-08-31 05:35:00 +08:00
Todd Broch
2c9e3cf673 disable chrontel server for factory test (will start via deps/factory/startx.sh) directly
BUG=none
TEST=manual

Review URL: http://codereview.chromium.org/3087012
2010-08-06 10:52:03 -07:00
Tom Wai-Hong Tam
a1feb99412 TBR: Issue 2861071: Fix name changed of init script dump-boot-stats.conf to boot-complete.conf.
A file name changed which breaks the factory test phase on the builders.

This change was LGTM'd but not submitted.
Patch from Tom Wai-Hong Tam <waihong@chromium.org>.

Change-Id: I961515ba4667891d82833035f2d312a653f746fd
2010-07-21 16:37:25 -05:00
Tammo Spalink
c75941a05d Move factory UI files to autotest repo.
Review URL: http://codereview.chromium.org/2825014
2010-06-22 16:09:04 +08:00
Tammo Spalink
f726161e09 This goes together with:
http://codereview.chromium.org/1810006/show

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/1937002
2010-05-27 13:18:56 +08:00
Nick Sanders
7c982f7398 Update factory installer, factory test
* Fix build breaks
* Update to work with EFI bios

Review URL: http://codereview.chromium.org/2132008
2010-05-19 22:17:08 -07:00
Nick Sanders
1bec876896 Clean upstart for factory test
* Leave ui.conf there, not run by default.
* dump autotest log into /dev/tty1
* Don't let tty1 eat keayboard events.

Review URL: http://codereview.chromium.org/1742018
2010-04-29 21:51:25 -07:00
Tom Wai-Hong Tam
d036780bd1 Make modify-image-for-factory scripts more readable.
Review URL: http://codereview.chromium.org/1755012
2010-04-28 18:50:02 +08:00