OSDN Git Service

Add selinux and verity support to custom image generation.
authorYing Wang <wangying@google.com>
Sat, 21 Mar 2015 00:43:02 +0000 (17:43 -0700)
committerYing Wang <wangying@google.com>
Mon, 23 Mar 2015 17:50:16 +0000 (17:50 +0000)
commitad54a4dab520d84f76c9ad6a83be92b5563de24e
treee31216a3db1f13ab31295cbeef2dd1f2531324f5
parent030b5493147d47a726e9f3e0e474772b29ad3111
Add selinux and verity support to custom image generation.

New custom image configuration variables:
- CUSTOM_IMAGE_SELINUX, set to "true" if the image supports selinux.
- CUSTOM_IMAGE_SUPPORT_VERITY, set to "true" if the product supports verity.
- CUSTOM_IMAGE_VERITY_BLOCK_DEVICE

Also changed the staging directory name to the mount point, like we do
for other images built by the build system.

Bug: 19609718
Change-Id: I6bbf06b79eee63e4c77834f2e6f1d5a7f7e00a12
(cherry picked from commit 7d51a4029590b58e22071eed919d59a0ff205bef)
core/tasks/build_custom_images.mk
core/tasks/tools/build_custom_image.mk