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

Commit 9362cc8e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix duplicate super_empty.img" am: 67ca3c05 am: 86708803 am: 0e04817b

parents e9b57353 0e04817b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -818,6 +818,9 @@ def AddSuperEmpty(output_zip):
  """Create a super_empty.img and store it in output_zip."""

  img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "super_empty.img")
  if os.path.exists(img.name):
    logger.info("super_empty.img already exists; no need to rebuild...")
    return
  build_super_image.BuildSuperImage(OPTIONS.info_dict, img.name)
  img.Write()