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
This commit is contained in:
padarshr 2017-03-19 15:34:58 +05:30 committed by Gerrit - the friendly Code Review server
parent f690ecf976
commit ea8dd7bf44
1 changed files with 3 additions and 0 deletions

View File

@ -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