Merge "Don't pass --setup_as_rootfs_from_kernel when using a super partition."

am: f63b7f9c6f

Change-Id: I1195c47a1afb44a008afa1bf6953910609239b66
This commit is contained in:
David Anderson 2018-09-18 17:43:04 -07:00 committed by android-build-merger
commit a23e6a0b15
1 changed files with 2 additions and 0 deletions

View File

@ -2767,8 +2767,10 @@ endif
# - not-chained: The --include_descriptors_from_image option for make_vbmeta_image
# will include the kernel cmdline descriptor from system.img into vbmeta.img
ifeq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE),true)
ifeq ($(filter system, $(BOARD_SUPER_PARTITION_PARTITION_LIST)),)
BOARD_AVB_SYSTEM_ADD_HASHTREE_FOOTER_ARGS += --setup_as_rootfs_from_kernel
endif
endif
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --padding_size 4096
BOARD_AVB_MAKE_VBMETA_MAINLINE_IMAGE_ARGS += --padding_size 4096