Lines Matching refs:in_dir
166 in_dir = common.MakeTempDir()
169 shutil.rmtree(in_dir)
170 shutil.copytree(root_dir, in_dir, symlinks=True)
171 in_dir_system = os.path.join(in_dir, "system")
188 prop_dict["first_pass"] = (in_dir, fs_config)
189 return in_dir, fs_config
231 def BuildImageMkfs(in_dir, prop_dict, out_file, target_out, fs_config): argument
259 build_command.extend([in_dir, out_file, fs_type,
300 build_command.extend([in_dir, out_file])
327 build_command.extend(["-f", in_dir])
348 du = GetDiskUsage(in_dir)
358 in_dir, du_str,
383 def BuildImage(in_dir, prop_dict, out_file, target_out=None): argument
399 in_dir, fs_config = SetUpInDirAndFsConfig(in_dir, prop_dict)
415 size = GetDiskUsage(in_dir)
417 "The tree size of %s is %d MB.", in_dir, size // BYTES_IN_MB)
430 prop_dict["extfs_inode_count"] = str(GetInodeUsage(in_dir))
434 BuildImageMkfs(in_dir, prop_dict, out_file, target_out, fs_config)
488 mkfs_output = BuildImageMkfs(in_dir, prop_dict, out_file, target_out, fs_config)
819 in_dir = argv[0]
861 BuildImage(in_dir, image_properties, out_file, target_out)
863 logger.error("Failed to build %s from %s", out_file, in_dir)