ReinterpretPathForChroot for public key

Change-Id: Ifcd52aad929453e801d143f5e16c26566aac4405

BUG=None
TEST=Manual

Review URL: http://codereview.chromium.org/6532015
This commit is contained in:
Don Garrett 2011-02-16 21:27:32 -08:00
parent 2d08a983b2
commit c5ae0344d2

View File

@ -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)