| commit | c3664703f8ce4db22924469592c73562db9d739b | [log] [tgz] |
|---|---|---|
| author | Yifan Hong <elsk@google.com> | Tue Apr 02 16:29:59 2019 -0700 |
| committer | Yifan Hong <elsk@google.com> | Thu Apr 04 16:36:25 2019 -0700 |
| tree | 05102512945590245f76a81b6ccbdcf7fb7aa0d9 | |
| parent | 50d01d6aa394cd1e9065a3a62bf84981e7bd721f [diff] [blame] |
Build non-sparse super image if necessary. If TARGET_USERIMAGES_SPARSE_EXT_DISABLED is set, don't provide --sparse to lpmake, so that a non-sparse super image is built. Test: build with the flag set. Bug: 120041578 Change-Id: I5a26e4c793b0e2ddc89e9c38c8828ac21044e78a Merged-In: I5a26e4c793b0e2ddc89e9c38c8828ac21044e78a
diff --git a/tools/releasetools/build_super_image.py b/tools/releasetools/build_super_image.py index 676acba..2d596a4 100755 --- a/tools/releasetools/build_super_image.py +++ b/tools/releasetools/build_super_image.py
@@ -137,7 +137,7 @@ cmd += GetArgumentsForImage(partition + "_b", group + "_b", other_image) - if has_image: + if info_dict.get("build_non_sparse_super_partition") != "true": cmd.append("--sparse") cmd += ["--output", output]