build/fuchsia/boot_data.py
def GetBootImage(output_dir, target_arch, target_type):
  """"Gets a path to the Zircon boot image, with the SSH client public key
  added."""
  ProvisionSSH()
  authkeys_path = _GetAuthorizedKeysPath()
  zbi_tool = common.GetHostToolPathFromPlatform('zbi')
  image_source_path = GetTargetFile('zircon-a.zbi', target_arch, target_type)
  image_dest_path = os.path.join(output_dir, 'gen', 'fuchsia-with-keys.zbi')

  cmd = [
      zbi_tool, '-o', image_dest_path, image_source_path, '-e',
      'data/ssh/authorized_keys=' + authkeys_path
  ]
  subprocess.check_call(cmd)

  return image_dest_path
Gets a path to the Zircon boot image, with the SSH client public key
  added.
Gets a path to the Zircon boot image, with the SSH client public key
added.
Gets a path to the Zircon boot image with the SSH client public key added .
def GetBootImage(output_dir, target_arch, target_type):
  ProvisionSSH()
  authkeys_path = _GetAuthorizedKeysPath()
  zbi_tool = common.GetHostToolPathFromPlatform('zbi')
  image_source_path = GetTargetFile('zircon-a.zbi', target_arch, target_type)
  image_dest_path = os.path.join(output_dir, 'gen', 'fuchsia-with-keys.zbi')
  cmd = [
      zbi_tool, '-o', image_dest_path, image_source_path, '-e',
      'data/ssh/authorized_keys=' + authkeys_path
  ]
  subprocess.check_call(cmd)
  return image_dest_path
def GetBootImage ( output_dir , target_arch , target_type ) : ProvisionSSH ( ) authkeys_path = _GetAuthorizedKeysPath ( ) zbi_tool = common . GetHostToolPathFromPlatform ( 'zbi' ) image_source_path = GetTargetFile ( 'zircon-a.zbi' , target_arch , target_type ) image_dest_path = os . path . join ( output_dir , 'gen' , 'fuchsia-with-keys.zbi' ) cmd = [ zbi_tool , '-o' , image_dest_path , image_source_path , '-e' , 'data/ssh/authorized_keys=' + authkeys_path ] subprocess . check_call ( cmd ) return image_dest_path
Gets a path to the Zircon boot image, with the SSH client public key
added.
Gets a path to the Zircon boot image with the SSH client public key added .
""""Gets a path to the Zircon boot image, with the SSH client public key
  added."""
output_dir
target_arch
target_type