Home | History | Annotate | Download | only in releasetools

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])
418 build_command.append(in_dir)
424 if in_dir != origin_in:
428 shutil.rmtree(in_dir)
429 shutil.copytree(ramdisk_dir, in_dir, symlinks=True)
430 staging_system = os.path.join(in_dir, "system")
443 if in_dir != origin_in:
445 shutil.rmtree(in_dir, ignore_errors=True)
602 in_dir = argv[0]
631 if not BuildImage(in_dir, image_properties, out_file, target_out):
633 in_dir)