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

Commit 6a18892b authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "Revert "Work around e2fsck issue for building sparse GSIs""

am: 757dfe87

Change-Id: Iab93bf2e07cb9a3b9d91308acf9141faba1f9e7e
parents 88e7af76 757dfe87
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -474,11 +474,8 @@ def BuildImage(in_dir, prop_dict, out_file, target_out=None):

    # Run e2fsck on the inflated image file
    e2fsck_command = ["e2fsck", "-f", "-n", unsparse_image]
    # TODO(b/112062612): work around e2fsck failure with SANITIZE_HOST=address
    env4e2fsck = os.environ.copy()
    env4e2fsck["ASAN_OPTIONS"] = "detect_odr_violation=0"
    try:
      common.RunAndCheckOutput(e2fsck_command, env=env4e2fsck)
      common.RunAndCheckOutput(e2fsck_command)
    finally:
      os.remove(unsparse_image)