From d4326f3f45bdcf063cd3b8404b57089dbefba1f7 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Mon, 15 Mar 2021 23:25:46 +0900 Subject: [PATCH] Sign microdroid_boot and _vendor_boot usb_avb is now turned on. Bug: 180676957 Test: m microdroid_boot-5.10 microdroid_vendor_boot-5.10 Check the built image via `avbtool info_image --image ` Change-Id: I8758338a078a920566ee4fb9ab6fa37900cde3c3 --- microdroid/Android.bp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/microdroid/Android.bp b/microdroid/Android.bp index 3eee6f45..0d8d94b2 100644 --- a/microdroid/Android.bp +++ b/microdroid/Android.bp @@ -37,6 +37,7 @@ android_filesystem { use_avb: true, avb_private_key: "microdroid.pem", avb_algorithm: "SHA256_RSA4096", + partition_name: "system", deps: [ "init_second_stage", "microdroid_init_rc", @@ -162,6 +163,8 @@ bootimg { dtb_prebuilt: "dummy_dtb.img", header_version: "4", partition_name: "boot", + use_avb: true, + avb_private_key: "microdroid.pem", } android_filesystem { @@ -189,6 +192,8 @@ bootimg { header_version: "4", vendor_boot: true, partition_name: "vendor_boot", + use_avb: true, + avb_private_key: "microdroid.pem", } android_filesystem {