commit | 9d28638cfcac11b3955873674ba119d4d0c995b7 | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Fri Aug 31 21:40:10 2018 +0800 |
committer | Bowgo Tsai <bowgotsai@google.com> | Thu Sep 06 09:41:42 2018 +0800 |
tree | a8ecc73d7dd8473e67bcb663b1549b5efebc9c61 | |
parent | 99ed1b4fbd5124f344a95a05a1f69e9a93b9d0dd [diff] |
Enable AVB signing on GSI In current GSI builds, AVB signing is not allowed. We should allow signing GSI image, while building a vbmeta.img with AVB_VBMETA_IMAGE_FLAGS_VERIFICATION_DISABLED (flag 2). When need to disable AVB, use the vbmeta.img above together with the GSI. When need enable AVB on GSI, include the GSI public key into the device-specific vbmeta.img. Note that GSI is a chain partition so the keys used to sign GSI and vbmeta.img are different. Bug: 112293933 Test: build aosp_arm64-userdebug, checks flag 2 is set in vbmeta.img and there is AVB HASHTREE in system.img `avbtool info_image --image $OUT/system.img` `avbtool info_image --image $OUT/vbmeta.img` Change-Id: If1eff317621882994e7dcbf37cd35f5bfa16b69a
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.