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

Side by Side Diff: au_test_harness/public_key_manager.py

Issue 6736023: Install test scripts into chroot. (Closed) Base URL: http://git.chromium.org/git/crostestutils.git@master
Patch Set: Remove vm scripts from makefile 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 | « au_test_harness/dev_server_wrapper.py ('k') | au_test_harness/real_au_worker.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """This module manages interactions between an image and a public key.""" 5 """This module manages interactions between an image and a public key."""
6 6
7 import os 7 import os
8 import tempfile 8 import tempfile
9 9
10 import cros_build_lib as cros_lib 10 import cros_build_lib as cros_lib
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 """Makes the image bootable. Note, it is only useful for non-vm images.""" 81 """Makes the image bootable. Note, it is only useful for non-vm images."""
82 image = os.path.basename(self.image_path) 82 image = os.path.basename(self.image_path)
83 if 'qemu' in image: 83 if 'qemu' in image:
84 return 84 return
85 85
86 from_dir = os.path.dirname(self.image_path) 86 from_dir = os.path.dirname(self.image_path)
87 cros_lib.RunCommand(['bin/cros_make_image_bootable', 87 cros_lib.RunCommand(['bin/cros_make_image_bootable',
88 cros_lib.ReinterpretPathForChroot(from_dir), 88 cros_lib.ReinterpretPathForChroot(from_dir),
89 image], print_cmd=False, redirect_stdout=True, 89 image], print_cmd=False, redirect_stdout=True,
90 redirect_stderr=True, enter_chroot=True, 90 redirect_stderr=True, enter_chroot=True,
91 cwd=cros_lib.CROSUTILS_DIRECTORY) 91 cwd=cros_lib.GetCrosUtilsPath())
OLDNEW
« no previous file with comments | « au_test_harness/dev_server_wrapper.py ('k') | au_test_harness/real_au_worker.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698