fix ota script to generate non-block commands correctly
If you had a target_files without a recovery patch and specified --block (which should have no effect without a patch), it would have omitted some necessary commands from the OTA script. Change-Id: I96e79cd561ebf09cfe53792d1cc558cc71479869
This commit is contained in:
@@ -516,7 +516,7 @@ else if get_stage("%(bcb_dev)s", "stage") == "3/3" then
|
||||
boot_img = common.GetBootableImage("boot.img", "boot.img",
|
||||
OPTIONS.input_tmp, "BOOT")
|
||||
|
||||
if not has_recovery_patch:
|
||||
if not block_based:
|
||||
def output_sink(fn, data):
|
||||
common.ZipWriteStr(output_zip, "recovery/" + fn, data)
|
||||
Item.Get("system/" + fn, dir=False)
|
||||
|
Reference in New Issue
Block a user