Lines Matching refs:chromeos_root
44 def CheckForCrosFlash(chromeos_root, remote, log_level): argument
50 command, chromeos_root=chromeos_root, machine=remote)
58 def DisableCrosBeeps(chromeos_root, remote, log_level): argument
66 command, chromeos_root=chromeos_root, machine=remote)
72 def FindChromeOSImage(image_file, chromeos_root): argument
92 real_chroot_dir = os.path.join(os.path.realpath(chromeos_root), 'chroot')
94 real_chromeos_root = os.path.realpath(chromeos_root)
162 if options.chromeos_root is None:
168 options.chromeos_root = os.path.expanduser(options.chromeos_root)
171 board = cmd_executer.CrosLearnBoard(options.chromeos_root, options.remote)
176 images_dir = misc.GetImageDir(options.chromeos_root, board)
198 list(options.remote.split()), options.chromeos_root)
211 command, chromeos_root=options.chromeos_root, machine=options.remote)
221 options.chromeos_root, image, board=board)
226 chroot_image = FindChromeOSImage(located_image, options.chromeos_root)
228 is_test_image = IsImageModdedForTest(options.chromeos_root,
243 command, chromeos_root=options.chromeos_root, machine=options.remote)
246 CheckForCrosFlash(options.chromeos_root, options.remote, log_level)
249 DisableCrosBeeps(options.chromeos_root, options.remote, log_level)
263 os.chmod(misc.GetChromeOSKeyFile(options.chromeos_root), 0o600)
272 options.chromeos_root, command, command_timeout=1800)
286 ret = EnsureMachineUp(options.chromeos_root, options.remote, log_level)
303 chromeos_root=options.chromeos_root,
308 options.chromeos_root, chroot_image, options.remote, log_level)
311 TryRemountPartitionAsRW(options.chromeos_root, options.remote,
323 command, chromeos_root=options.chromeos_root, machine=options.remote)
329 locks.ReleaseLock(list(options.remote.split()), options.chromeos_root)
334 def LocateOrCopyImage(chromeos_root, image, board=None): argument
341 chromeos_root_realpath = os.path.realpath(chromeos_root)
381 def MountImage(chromeos_root, argument
394 ret, out, _ = cmd_executer.ChrootRunCommandWOutput(chromeos_root, command)
399 def IsImageModdedForTest(chromeos_root, image, log_level): argument
404 _, rootfs_mp, _ = cmd_executer.ChrootRunCommandWOutput(chromeos_root, command)
406 chromeos_root, command)
412 chromeos_root,
420 chromeos_root, image, rootfs_mp, stateful_mp, log_level, unmount=True)
424 def VerifyChromeChecksum(chromeos_root, image, remote, log_level): argument
427 _, rootfs_mp, _ = cmd_executer.ChrootRunCommandWOutput(chromeos_root, command)
429 chromeos_root, command)
435 chromeos_root,
443 chromeos_root, image, rootfs_mp, stateful_mp, log_level, unmount=True)
447 command, chromeos_root=chromeos_root, machine=remote)
454 def TryRemountPartitionAsRW(chromeos_root, remote, log_level): argument
459 command, chromeos_root=chromeos_root, machine=remote,
471 def EnsureMachineUp(chromeos_root, remote, log_level): argument
485 command, chromeos_root=chromeos_root, machine=remote)