Home | History | Annotate | Download | only in releasetools

Lines Matching refs:sourcedir

166 def BuildAndAddBootableImage(sourcedir, targetname, output_zip, info_dict):
168 'sourcedir'), and turn them into a boot image. Put the boot image
170 targetname on success or None on failure (if sourcedir does not
175 img = BuildBootableImage(sourcedir)
183 def BuildBootableImage(sourcedir):
185 'sourcedir'), and turn them into a boot image. Return the image
186 data, or None if sourcedir does not appear to contains files for
189 if (not os.access(os.path.join(sourcedir, "RAMDISK"), os.F_OK) or
190 not os.access(os.path.join(sourcedir, "kernel"), os.F_OK)):
196 p1 = Run(["mkbootfs", os.path.join(sourcedir, "RAMDISK")],
206 cmd = ["mkbootimg", "--kernel", os.path.join(sourcedir, "kernel")]
208 fn = os.path.join(sourcedir, "cmdline")
213 fn = os.path.join(sourcedir, "base")
218 fn = os.path.join(sourcedir, "pagesize")
229 os.path.basename(sourcedir),)