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

Commit 011aee1b authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "support pre-defined timestamp and uuid when bulid EROFS images" am: 0a4788c3

Original change: https://android-review.googlesource.com/c/platform/build/+/1595714

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iebf46f1a9a88da5ba403024f2bf1bcd44c4b52fc
parents fe65f909 0a4788c3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -308,6 +308,10 @@ def BuildImageMkfs(in_dir, prop_dict, out_file, target_out, fs_config):
      build_command.extend(["-C", fs_config])
    if "selinux_fc" in prop_dict:
      build_command.extend(["-c", prop_dict["selinux_fc"]])
    if "timestamp" in prop_dict:
      build_command.extend(["-T", str(prop_dict["timestamp"])])
    if "uuid" in prop_dict:
      build_command.extend(["-U", prop_dict["uuid"]])
  elif fs_type.startswith("squash"):
    build_command = ["mksquashfsimage.sh"]
    build_command.extend([in_dir, out_file])