Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py
- index f7ab11cd8..bd8aabae7 100644
- --- a/tools/releasetools/common.py
- +++ b/tools/releasetools/common.py
- @@ -581,9 +581,7 @@ def GetBootableImage(name, prebuilt_name, unpack_dir, tree_subdir,
- # With system_root_image == "true", we don't pack ramdisk into the boot image.
- # Unless "recovery_as_boot" is specified, in which case we carry the ramdisk
- # for recovery.
- - has_ramdisk = (info_dict.get("system_root_image") != "true" or
- - prebuilt_name != "boot.img" or
- - info_dict.get("recovery_as_boot") == "true")
- + has_ramdisk = true
- fs_config = "META/" + tree_subdir.lower() + "_filesystem_config.txt"
- data = _BuildBootableImage(os.path.join(unpack_dir, tree_subdir),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement