Merge "build: pass version and patch level to mkbootimg"
am: b32d845090
* commit 'b32d845090d19d2dfbbf32d4628ef81478325927':
build: pass version and patch level to mkbootimg
This commit is contained in:
@@ -414,6 +414,10 @@ def _BuildBootableImage(sourcedir, fs_config_file, info_dict=None,
|
||||
if args and args.strip():
|
||||
cmd.extend(shlex.split(args))
|
||||
|
||||
args = info_dict.get("mkbootimg_version_args", None)
|
||||
if args and args.strip():
|
||||
cmd.extend(shlex.split(args))
|
||||
|
||||
if has_ramdisk:
|
||||
cmd.extend(["--ramdisk", ramdisk_img.name])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user