From c5ae0344d2efbefbefc5daf9a1144d278dd08cc3 Mon Sep 17 00:00:00 2001 From: Don Garrett Date: Wed, 16 Feb 2011 21:27:32 -0800 Subject: [PATCH] ReinterpretPathForChroot for public key Change-Id: Ifcd52aad929453e801d143f5e16c26566aac4405 BUG=None TEST=Manual Review URL: http://codereview.chromium.org/6532015 --- bin/cros_au_test_harness.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/cros_au_test_harness.py b/bin/cros_au_test_harness.py index 0af3b722a8..994476caac 100755 --- a/bin/cros_au_test_harness.py +++ b/bin/cros_au_test_harness.py @@ -967,7 +967,9 @@ def InsertPublicKeyIntoImage(image_path, key_path): os.rmdir(rootfs_dir) os.rmdir(stateful_dir) - RunCommand(['bin/cros_make_image_bootable', from_dir, image, ], + RunCommand(['bin/cros_make_image_bootable', + ReinterpretPathForChroot(from_dir), + image], print_cmd=False, redirect_stdout=True, redirect_stderr=True, enter_chroot=True, cwd=crosutils_dir)