Merge "releasetools: Fix the bug with TARGET_NO_RECOVERY."
This commit is contained in:
@@ -211,6 +211,9 @@ def LoadInfoDict(input_file, input_dir=None):
|
||||
makeint("boot_size")
|
||||
makeint("fstab_version")
|
||||
|
||||
if d.get("no_recovery", False) == "true":
|
||||
d["fstab"] = None
|
||||
else:
|
||||
d["fstab"] = LoadRecoveryFSTab(read_helper, d["fstab_version"],
|
||||
d.get("system_root_image", False))
|
||||
d["build.prop"] = LoadBuildProp(read_helper)
|
||||
|
Reference in New Issue
Block a user