Merge "Build non-sparse super image if necessary." am: 405d3a4ade
am: 28c875581c
Change-Id: Ide57dcc7df9429fe21be750081ce0a7ffda5f589
This commit is contained in:
commit
ad44636f8b
2 changed files with 3 additions and 1 deletions
|
@ -3744,6 +3744,8 @@ define dump-dynamic-partitions-info
|
|||
echo "super_$(group)_group_size=$(BOARD_$(call to-upper,$(group))_SIZE)" >> $(1); \
|
||||
$(if $(BOARD_$(call to-upper,$(group))_PARTITION_LIST), \
|
||||
echo "super_$(group)_partition_list=$(BOARD_$(call to-upper,$(group))_PARTITION_LIST)" >> $(1);))
|
||||
$(if $(filter true,$(TARGET_USERIMAGES_SPARSE_EXT_DISABLED)), \
|
||||
echo "build_non_sparse_super_partition=true" >> $(1))
|
||||
endef
|
||||
|
||||
# Depending on the various images guarantees that the underlying
|
||||
|
|
|
@ -137,7 +137,7 @@ def BuildSuperImageFromDict(info_dict, output):
|
|||
|
||||
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]
|
||||
|
|
Loading…
Reference in a new issue