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
257 build_command.extend([in_dir, out_file, fs_type,
295 build_command.extend([in_dir, out_file])
320 build_command.extend(["-f", in_dir])
337 du = GetDiskUsage(in_dir)
347 in_dir, du_str,
372 def BuildImage(in_dir, prop_dict, out_file, target_out=None): argument
388 in_dir, fs_config = SetUpInDirAndFsConfig(in_dir, prop_dict)
404 size = GetDiskUsage(in_dir)
406 "The tree size of %s is %d MB.", in_dir, size // BYTES_IN_MB)
419 prop_dict["extfs_inode_count"] = str(GetInodeUsage(in_dir))
423 BuildImageMkfs(in_dir, prop_dict, out_file, target_out, fs_config)
477 mkfs_output = BuildImageMkfs(in_dir, prop_dict, out_file, target_out, fs_config)
743 in_dir = argv[0]
781 BuildImage(in_dir, image_properties, out_file, target_out)
783 logger.error("Failed to build %s from %s", out_file, in_dir)