Lines Matching refs:sourcedir
177 def BuildAndAddBootableImage(sourcedir, targetname, output_zip, info_dict):
179 'sourcedir'), and turn them into a boot image. Put the boot image
181 targetname on success or None on failure (if sourcedir does not
186 img = BuildBootableImage(sourcedir)
194 def BuildBootableImage(sourcedir):
196 'sourcedir'), and turn them into a boot image. Return the image
197 data, or None if sourcedir does not appear to contains files for
200 if (not os.access(os.path.join(sourcedir, "RAMDISK"), os.F_OK) or
201 not os.access(os.path.join(sourcedir, "kernel"), os.F_OK)):
207 p1 = Run(["mkbootfs", os.path.join(sourcedir, "RAMDISK")],
217 cmd = ["mkbootimg", "--kernel", os.path.join(sourcedir, "kernel")]
219 fn = os.path.join(sourcedir, "cmdline")
224 fn = os.path.join(sourcedir, "base")
229 fn = os.path.join(sourcedir, "pagesize")
240 os.path.basename(sourcedir),)