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

Issue 1542011: Allow boot directly into mfg test. (Closed)

Created:
10 years, 8 months ago by Nick Sanders
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, dneiss, adlr
Visibility:
Public.

Description

Allow boot directly into mfg test. Add feature to mod_image_for_test to patch rootfs. Change initctl path to get network but no chrome. ./image_to_usb.sh --install_mfg --install_autotest --test_image which calls ./mod_image_for_test.sh --manuf

Patch Set 1 #

Patch Set 2 : fix formatting #

Patch Set 3 : Update to factory image. #

Total comments: 5

Patch Set 4 : Update, basically works #

Total comments: 10

Patch Set 5 : Fix installer shim, /usr/local #

Patch Set 6 : fix boot order #

Total comments: 12

Patch Set 7 : update per CL review #

Total comments: 1

Patch Set 8 : check that CL is attached to tracker #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -14 lines) Patch
M src/platform/factory_installer/factory_install.conf View 5 6 7 1 chunk +1 line, -3 lines 0 comments Download
M src/platform/factory_installer/factory_install.sh View 1 chunk +1 line, -1 line 0 comments Download
M src/platform/memento_softwareupdate/memento_updater.sh View 1 chunk +2 lines, -2 lines 0 comments Download
M src/scripts/image_to_usb.sh View 1 2 3 4 5 6 chunks +37 lines, -5 lines 0 comments Download
A src/scripts/mod_for_factory_scripts/factory.patch View 3 4 5 6 7 1 chunk +88 lines, -0 lines 0 comments Download
M src/scripts/mod_image_for_test.sh View 1 2 3 4 5 6 3 chunks +18 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Nick Sanders
Not really done yet, but you can take a look at how we can boot ...
10 years, 8 months ago (2010-04-06 05:01:19 UTC) #1
Tom Wai-Hong Tam
Do you mind to unify all the names "mfg", "manuf", and "manufacturing" into "factory"?
10 years, 8 months ago (2010-04-06 13:16:19 UTC) #2
Nick Sanders
More or less working factory image build script. http://codereview.chromium.org/1542011/diff/10001/11002 File src/scripts/mod_for_factory_scripts/factory.patch (right): http://codereview.chromium.org/1542011/diff/10001/11002#newcode24 src/scripts/mod_for_factory_scripts/factory.patch:24: +mount ...
10 years, 8 months ago (2010-04-09 06:24:39 UTC) #3
Tom Wai-Hong Tam
http://codereview.chromium.org/1542011/diff/10001/11003 File src/scripts/mod_image_for_test.sh (right): http://codereview.chromium.org/1542011/diff/10001/11003#newcode168 src/scripts/mod_image_for_test.sh:168: echo "No qualified component file found at: ${FLAGS_qualdb}" This ...
10 years, 8 months ago (2010-04-09 07:02:45 UTC) #4
Tammo Spalink
LGTM Lets get this checked in, that way we can all try it out and ...
10 years, 8 months ago (2010-04-14 05:38:13 UTC) #5
kmixter1
http://codereview.chromium.org/1542011/diff/7002/2002 File src/scripts/image_to_usb.sh (right): http://codereview.chromium.org/1542011/diff/7002/2002#newcode98 src/scripts/image_to_usb.sh:98: sudo echo "Done" Use sudo -v instead http://codereview.chromium.org/1542011/diff/7002/2003 File ...
10 years, 8 months ago (2010-04-14 17:00:58 UTC) #6
Nick Sanders
http://codereview.chromium.org/1542011/diff/7002/2002 File src/scripts/image_to_usb.sh (right): http://codereview.chromium.org/1542011/diff/7002/2002#newcode98 src/scripts/image_to_usb.sh:98: sudo echo "Done" On 2010/04/14 17:00:58, kmixter1 wrote: > ...
10 years, 8 months ago (2010-04-16 07:21:48 UTC) #7
Nick Sanders
Including a couple of fixes to the install ehim, adding adlr
10 years, 8 months ago (2010-04-16 07:42:16 UTC) #8
Nick Sanders
with these changes, the shim will d/l a factory+release image set, and if you pull ...
10 years, 8 months ago (2010-04-16 09:40:49 UTC) #9
kmixter1
http://codereview.chromium.org/1542011/diff/28001/29004 File src/scripts/image_to_usb.sh (right): http://codereview.chromium.org/1542011/diff/28001/29004#newcode173 src/scripts/image_to_usb.sh:173: sudo ln -sf /mnt/stateful_partition/dev_image${autotest_client} \ couldn't you write this ...
10 years, 8 months ago (2010-04-16 22:08:31 UTC) #10
Nick Sanders
http://codereview.chromium.org/1542011/diff/28001/29002 File src/platform/factory_installer/factory_install.sh (right): http://codereview.chromium.org/1542011/diff/28001/29002#newcode16 src/platform/factory_installer/factory_install.sh:16: sleep 60 note sleep. http://codereview.chromium.org/1542011/diff/28001/29004 File src/scripts/image_to_usb.sh (right): http://codereview.chromium.org/1542011/diff/28001/29004#newcode173 ...
10 years, 8 months ago (2010-04-16 22:40:47 UTC) #11
sosa
http://codereview.chromium.org/1542011/diff/28001/29004 File src/scripts/image_to_usb.sh (right): http://codereview.chromium.org/1542011/diff/28001/29004#newcode174 src/scripts/image_to_usb.sh:174: ${stateful_root}/autotest If I read this correctly, you have this ...
10 years, 8 months ago (2010-04-16 22:56:17 UTC) #12
Nick Sanders
http://codereview.chromium.org/1542011/diff/28001/29004 File src/scripts/image_to_usb.sh (right): http://codereview.chromium.org/1542011/diff/28001/29004#newcode174 src/scripts/image_to_usb.sh:174: ${stateful_root}/autotest On 2010/04/16 22:56:17, sosa wrote: > If I ...
10 years, 8 months ago (2010-04-16 23:08:20 UTC) #13
kmixter1
/usr/local/autotest sounds good to me. On Fri, Apr 16, 2010 at 4:08 PM, <nsanders@chromium.org> wrote: ...
10 years, 8 months ago (2010-04-16 23:14:31 UTC) #14
sosa
sgtm 2. I think it's an artifact from eric's changes early on that installed autotest ...
10 years, 8 months ago (2010-04-16 23:18:23 UTC) #15
kmixter1
10 years, 8 months ago (2010-04-16 23:42:12 UTC) #16
LGTM

http://codereview.chromium.org/1542011/diff/28002/11008
File src/scripts/mod_for_factory_scripts/factory.patch (right):

http://codereview.chromium.org/1542011/diff/28002/11008#newcode48
src/scripts/mod_for_factory_scripts/factory.patch:48: +sleep 10
Still think this should be a TODO

Powered by Google App Engine
This is Rietveld 408576698