Lines Matching full:in_dir
307 def BuildImage(in_dir, prop_dict, out_file, target_out=None):
308 """Build an image to out_file from in_dir with property prop_dict.
311 in_dir: path of input directory.
321 origin_in = in_dir
326 in_dir = tempfile.mkdtemp()
370 build_command.extend([in_dir, out_file, fs_type,
393 build_command.extend([in_dir, out_file])
420 build_command.append(in_dir)
426 if in_dir != origin_in:
430 shutil.rmtree(in_dir)
431 shutil.copytree(ramdisk_dir, in_dir, symlinks=True)
432 staging_system = os.path.join(in_dir, "system")
445 if in_dir != origin_in:
447 shutil.rmtree(in_dir, ignore_errors=True)
619 in_dir = argv[0]
650 if not BuildImage(in_dir, image_properties, out_file, target_out):
652 in_dir)