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

Commit ee4bad51 authored by Ying Wang's avatar Ying Wang
Browse files

Disable CheckSize on ext partitions to fix build [DO NOT MERGE]

Original CL: 59920

Change-Id: I81437996670a61e10284293d25a08da8907ad296
parent 34acfcf6
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ def AddUserdata(output_zip):
  p.communicate()
  assert p.returncode == 0, "build userdata.img image failed"

  if USERIMAGE_OPTIONS.fs_type is None or not USERIMAGE_OPTIONS.fs_type.startswith("ext"):
    common.CheckSize(img.name, "userdata.img")
  output_zip.write(img.name, "userdata.img")
  img.close()
@@ -131,6 +132,7 @@ def AddSystem(output_zip):
  data = img.read()
  img.close()

  if USERIMAGE_OPTIONS.fs_type is None or not USERIMAGE_OPTIONS.fs_type.startswith("ext"):
    common.CheckSize(data, "system.img")
  common.ZipWriteStr(output_zip, "system.img", data)