mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
Add enabling of local account. This should get the suite_Smoke to go green on the pfq.
Change-Id: Id480f45836a81d7d994b92d7a45d16208e1dd11c BUG= TEST=Ran locally. Saw all tests pass. Review URL: http://codereview.chromium.org/3567010
This commit is contained in:
parent
9d892dd99f
commit
3ede50ed4e
@ -263,6 +263,14 @@ def _WipeOldOutput(buildroot):
|
||||
RunCommand(['rm', '-rf', 'src/build/images'], cwd=buildroot)
|
||||
|
||||
|
||||
def _EnableLocalAccount(buildroot):
|
||||
cwd = os.path.join(buildroot, 'src', 'scripts')
|
||||
# Set local account for test images.
|
||||
RunCommand(['./enable_localaccount.sh',
|
||||
'chronos'],
|
||||
print_cmd=False, cwd=cwd)
|
||||
|
||||
|
||||
def _BuildImage(buildroot):
|
||||
_WipeOldOutput(buildroot)
|
||||
|
||||
@ -415,6 +423,7 @@ def main():
|
||||
if buildconfig['uprev']:
|
||||
_UprevPackages(buildroot, revisionfile, board=buildconfig['board'])
|
||||
|
||||
_EnableLocalAccount(buildroot)
|
||||
_Build(buildroot)
|
||||
if buildconfig['unittests']:
|
||||
_RunUnitTests(buildroot)
|
||||
|
@ -48,7 +48,6 @@ config['x86_pineview_bin'] = {
|
||||
'important' : False,
|
||||
'hostname' : 'codf200.jail',
|
||||
'unittests': True,
|
||||
'smoke_bvt' : True,
|
||||
}
|
||||
config['arm_tegra2_bin'] = {
|
||||
'board' : 'tegra2',
|
||||
|
Loading…
x
Reference in New Issue
Block a user