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

Commit 71880d9d authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "[Bugfix] Check for presence before ZipWrite" am: bb8d9ed7 am: c3a91529

parents f6acd8f0 c3a91529
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1355,6 +1355,7 @@ def BuildVendorPartitions(output_zip_path):
      img_file_path = "IMAGES/{}.img".format(p)
      map_file_path = "IMAGES/{}.map".format(p)
      common.ZipWrite(output_zip, os.path.join(vendor_tempdir, img_file_path), img_file_path)
      if os.path.exists(os.path.join(vendor_tempdir, map_file_path)):
        common.ZipWrite(output_zip, os.path.join(vendor_tempdir, map_file_path), map_file_path)
    # copy recovery.img, boot.img, recovery patch & install.sh
    if OPTIONS.rebuild_recovery: