mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 13:06:59 +02:00
ReinterpretPathForChroot for public key
Change-Id: Ifcd52aad929453e801d143f5e16c26566aac4405 BUG=None TEST=Manual Review URL: http://codereview.chromium.org/6532015
This commit is contained in:
parent
2d08a983b2
commit
c5ae0344d2
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user