diff --git a/core/Makefile b/core/Makefile index 79934aa95..23dc59ae7 100644 --- a/core/Makefile +++ b/core/Makefile @@ -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