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

Commit b70d35ce authored by Hongguang Chen's avatar Hongguang Chen Committed by Gerrit Code Review
Browse files

Merge "Overwrite prop.default in all ramdisk fragments"

parents 43cbca31 1a732339
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -532,11 +532,13 @@ def IsBuildPropFile(filename):
      # as a symlink in the current code. So it's a no-op here. Keeping the
      # path here for clarity.
      # Some build props might be stored under path
      # VENDOR_BOOT/RAMDISK_FRAGMENTS/recovery/RAMDISK/default.prop
      # so overwrite all files that ends with build.prop or default.prop
      # VENDOR_BOOT/RAMDISK_FRAGMENTS/recovery/RAMDISK/default.prop, and
      # default.prop can be a symbolic link to prop.default, so overwrite all
      # files that ends with build.prop, default.prop or prop.default
      "RECOVERY/RAMDISK/default.prop") or \
        filename.endswith("build.prop") or \
        filename.endswith("/default.prop")
        filename.endswith("/default.prop") or \
        filename.endswith("/prop.default")


def ProcessTargetFiles(input_tf_zip, output_tf_zip, misc_info,