Lines Matching refs:chromeos_root
39 def CheckForCrosFlash(chromeos_root, remote, log_level): argument
45 chromeos_root=chromeos_root,
102 if options.chromeos_root is None:
108 options.chromeos_root = os.path.expanduser(options.chromeos_root)
111 board = cmd_executer.CrosLearnBoard(options.chromeos_root, options.remote)
116 images_dir = misc.GetImageDir(options.chromeos_root, board)
138 list(options.remote.split()), options.chromeos_root)
152 chromeos_root=options.chromeos_root,
162 [found, located_image] = LocateOrCopyImage(options.chromeos_root,
169 is_test_image = IsImageModdedForTest(options.chromeos_root,
184 chromeos_root=options.chromeos_root,
188 os.path.realpath(options.chromeos_root), 'src')
190 os.path.realpath(options.chromeos_root), 'chroot')
195 (located_image, options.chromeos_root))
203 CheckForCrosFlash(options.chromeos_root, options.remote, log_level)
215 os.chmod(misc.GetChromeOSKeyFile(options.chromeos_root), 0600)
223 ret = cmd_executer.ChrootRunCommand(options.chromeos_root,
244 ret = EnsureMachineUp(options.chromeos_root, options.remote, log_level)
262 chromeos_root=options.chromeos_root,
266 successfully_imaged = VerifyChromeChecksum(options.chromeos_root,
271 TryRemountPartitionAsRW(options.chromeos_root, options.remote,
278 locks.ReleaseLock(list(options.remote.split()), options.chromeos_root)
281 def LocateOrCopyImage(chromeos_root, image, board=None): argument
288 chromeos_root_realpath = os.path.realpath(chromeos_root)
317 def GetImageMountCommand(chromeos_root, image, rootfs_mp, stateful_mp): argument
324 ' --stateful_mountpt=%s' % (chromeos_root, image_dir,
330 def MountImage(chromeos_root, argument
337 command = GetImageMountCommand(chromeos_root, image, rootfs_mp, stateful_mp)
345 def IsImageModdedForTest(chromeos_root, image, log_level): argument
350 MountImage(chromeos_root, image, rootfs_mp, stateful_mp, log_level)
354 MountImage(chromeos_root,
363 def VerifyChromeChecksum(chromeos_root, image, remote, log_level): argument
367 MountImage(chromeos_root, image, rootfs_mp, stateful_mp, log_level)
371 MountImage(chromeos_root,
380 chromeos_root=chromeos_root,
391 def TryRemountPartitionAsRW(chromeos_root, remote, log_level): argument
396 command, chromeos_root=chromeos_root, machine=remote,
408 def EnsureMachineUp(chromeos_root, remote, log_level): argument
422 chromeos_root=chromeos_root,