Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91a99c28 authored by Doug Zongker's avatar Doug Zongker
Browse files

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
parent 1aebed36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)