Lines Matching refs:chromeos_root
40 def CheckForCrosFlash(chromeos_root, remote, log_level): argument
46 command, chromeos_root=chromeos_root, machine=remote)
54 def DisableCrosBeeps(chromeos_root, remote, log_level): argument
62 command, chromeos_root=chromeos_root, machine=remote)
68 def FindChromeOSImage(image_file, chromeos_root): argument
88 real_chroot_dir = os.path.join(os.path.realpath(chromeos_root), 'chroot')
90 real_chromeos_root = os.path.realpath(chromeos_root)
158 if options.chromeos_root is None:
164 options.chromeos_root = os.path.expanduser(options.chromeos_root)
167 board = cmd_executer.CrosLearnBoard(options.chromeos_root, options.remote)
172 images_dir = misc.GetImageDir(options.chromeos_root, board)
194 list(options.remote.split()), options.chromeos_root)
207 command, chromeos_root=options.chromeos_root, machine=options.remote)
217 options.chromeos_root, image, board=board)
222 chroot_image = FindChromeOSImage(located_image, options.chromeos_root)
224 is_test_image = IsImageModdedForTest(options.chromeos_root,
239 command, chromeos_root=options.chromeos_root, machine=options.remote)
242 os.path.realpath(options.chromeos_root), 'src')
244 os.path.realpath(options.chromeos_root), 'chroot')
247 CheckForCrosFlash(options.chromeos_root, options.remote, log_level)
250 DisableCrosBeeps(options.chromeos_root, options.remote, log_level)
264 os.chmod(misc.GetChromeOSKeyFile(options.chromeos_root), 0600)
273 options.chromeos_root, command, command_timeout=1800)
287 ret = EnsureMachineUp(options.chromeos_root, options.remote, log_level)
304 chromeos_root=options.chromeos_root,
309 options.chromeos_root, chroot_image, options.remote, log_level)
312 TryRemountPartitionAsRW(options.chromeos_root, options.remote,
324 locks.ReleaseLock(list(options.remote.split()), options.chromeos_root)
327 def LocateOrCopyImage(chromeos_root, image, board=None): argument
334 chromeos_root_realpath = os.path.realpath(chromeos_root)
362 def GetImageMountCommand(chromeos_root, image, rootfs_mp, stateful_mp): argument
374 def MountImage(chromeos_root, argument
382 command = GetImageMountCommand(chromeos_root, image, rootfs_mp, stateful_mp)
387 ret, out, _ = cmd_executer.ChrootRunCommandWOutput(chromeos_root, command)
392 def IsImageModdedForTest(chromeos_root, image, log_level): argument
397 _, rootfs_mp, _ = cmd_executer.ChrootRunCommandWOutput(chromeos_root, command)
399 chromeos_root, command)
406 chromeos_root,
414 chromeos_root, image, rootfs_mp, stateful_mp, log_level, unmount=True)
418 def VerifyChromeChecksum(chromeos_root, image, remote, log_level): argument
421 _, rootfs_mp, _ = cmd_executer.ChrootRunCommandWOutput(chromeos_root, command)
423 chromeos_root, command)
429 chromeos_root,
437 chromeos_root, image, rootfs_mp, stateful_mp, log_level, unmount=True)
441 command, chromeos_root=chromeos_root, machine=remote)
451 def TryRemountPartitionAsRW(chromeos_root, remote, log_level): argument
456 command, chromeos_root=chromeos_root, machine=remote,
468 def EnsureMachineUp(chromeos_root, remote, log_level): argument
482 command, chromeos_root=chromeos_root, machine=remote)