From ea8dd7bf441f1da0e087bb9baacd077d402726ef Mon Sep 17 00:00:00 2001 From: padarshr Date: Sun, 19 Mar 2017 15:34:58 +0530 Subject: [PATCH] Add verity support for vendor partition This change is to add dm-verity support for the vendor parition if we are building vendor.img Change-Id: I4eed3dfd6aa5a90c8da1bf13d58af077537b352c --- base.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base.mk b/base.mk index 030c6203..a641a133 100644 --- a/base.mk +++ b/base.mk @@ -958,6 +958,9 @@ endif # dm-verity definitions PRODUCT_SYSTEM_VERITY_PARTITION=/dev/block/bootdevice/by-name/system +ifeq ($(ENABLE_VENDOR_IMAGE), true) +PRODUCT_VENDOR_VERITY_PARTITION=/dev/block/bootdevice/by-name/vendor +endif $(call inherit-product, build/target/product/verity.mk) #skip boot jars check