Home | History | Annotate | Download | only in releasetools

Lines Matching refs:sourcedir

403 def _BuildBootableImage(sourcedir, fs_config_file, info_dict=None,
405 """Build a bootable image from the specified sourcedir.
408 'sourcedir'), and turn them into a boot image. Return the image data, or
409 None if sourcedir does not appear to contains files for building the
417 os.path.join(sourcedir, "RAMDISK")]
419 cmd = ["mkbootfs", os.path.join(sourcedir, "RAMDISK")]
425 assert p1.returncode == 0, "mkbootfs of %s ramdisk failed" % (sourcedir,)
426 assert p2.returncode == 0, "minigzip of %s ramdisk failed" % (sourcedir,)
430 if not os.access(os.path.join(sourcedir, "kernel"), os.F_OK):
433 if has_ramdisk and not os.access(os.path.join(sourcedir, "RAMDISK"), os.F_OK):
447 cmd = [mkbootimg, "--kernel", os.path.join(sourcedir, "kernel")]
449 fn = os.path.join(sourcedir, "second")
454 fn = os.path.join(sourcedir, "cmdline")
459 fn = os.path.join(sourcedir, "base")
464 fn = os.path.join(sourcedir, "pagesize")
490 os.path.basename(sourcedir),)
494 path = "/" + os.path.basename(sourcedir).lower()
506 path = "/" + os.path.basename(sourcedir).lower()