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

Commit f8fc117f authored by Martin Blumenstingl's avatar Martin Blumenstingl
Browse files

Fixed mounting /system when 'override_prop' is enabled.

Change-Id: I59f035498c2a2d65869cb7f7e6ea9e311b9757be
parent 469c47b1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -725,13 +725,14 @@ def WriteIncrementalOTAPackage(target_zip, source_zip, output_zip):
      patch_list.append((tf, sf, tf.size, common.sha1(d).hexdigest()))
      largest_source_size = max(largest_source_size, sf.size)

  script.Mount("/system")

  if not OPTIONS.override_prop:
    source_fp = GetBuildProp("ro.build.fingerprint", OPTIONS.source_info_dict)
    target_fp = GetBuildProp("ro.build.fingerprint", OPTIONS.target_info_dict)
    metadata["pre-build"] = source_fp
    metadata["post-build"] = target_fp

    script.Mount("/system")
    script.AssertSomeFingerprint(source_fp, target_fp)

  source_boot = common.GetBootableImage(