• Home
  • Raw
  • Download

Lines Matching refs:path

105       path = os.path.join(input, *fn.split("/"))
107 with open(path) as f:
288 if (not os.access(os.path.join(sourcedir, "RAMDISK"), os.F_OK) or
289 not os.access(os.path.join(sourcedir, "kernel"), os.F_OK)):
299 cmd = ["mkbootfs", "-f", fs_config_file, os.path.join(sourcedir, "RAMDISK")]
301 cmd = ["mkbootfs", os.path.join(sourcedir, "RAMDISK")]
314 cmd = [mkbootimg, "--kernel", os.path.join(sourcedir, "kernel")]
316 fn = os.path.join(sourcedir, "second")
321 fn = os.path.join(sourcedir, "cmdline")
326 fn = os.path.join(sourcedir, "base")
331 fn = os.path.join(sourcedir, "pagesize")
346 os.path.basename(sourcedir),)
349 path = "/" + os.path.basename(sourcedir).lower()
350 …cmd = ["boot_signer", path, img.name, info_dict["verity_key"] + ".pk8", info_dict["verity_key"] + …
353 assert p.returncode == 0, "boot_signer of %s image failed" % path
372 prebuilt_path = os.path.join(unpack_dir, "BOOTABLE_IMAGES", prebuilt_name)
373 if os.path.exists(prebuilt_path):
377 prebuilt_path = os.path.join(unpack_dir, "IMAGES", prebuilt_name)
378 if os.path.exists(prebuilt_path):
384 data = BuildBootableImage(os.path.join(unpack_dir, tree_subdir),
385 os.path.join(unpack_dir, fs_config),
418 unzip_to_dir(m.group(2), os.path.join(tmp, "BOOTABLE_IMAGES"))
499 os.path.join(OPTIONS.search_path, OPTIONS.signapk_path)]
662 os.environ["PATH"] = (os.path.join(OPTIONS.search_path, "bin") +
679 if os.path.isdir(i):
807 path = OPTIONS.device_specific
808 if not path: return
810 if os.path.isdir(path):
811 info = imp.find_module("releasetools", [path])
813 d, f = os.path.split(path)
814 b, x = os.path.splitext(f)
818 print "loaded device-specific extensions from", path
925 ext = os.path.splitext(tf.name)[1]
931 ext = os.path.splitext(tf.name)[1]
1043 self.path = os.path.join(tmpdir, partition)
1044 b.Compute(self.path)
1078 with open(self.path + ".transfer.list", "rb") as f:
1080 with open(self.path + ".new.dat", "rb") as f:
1082 with open(self.path + ".patch.dat", "rb") as f:
1153 path = os.path.join(input_dir, "SYSTEM", "etc", "recovery-resource.dat")
1154 if os.path.exists(path):
1156 diff_program.append(path)
1196 with open(os.path.join(input_dir, "BOOT", "RAMDISK", "init.rc")) as f: