From 000e3a396ca89155e817841195d44b9aeda1155f Mon Sep 17 00:00:00 2001 From: Alice Wang Date: Tue, 3 Jan 2023 16:11:20 +0000 Subject: [avb_footer] Add avb_gen_vbmeta_image to generate vbmeta image This is the reland of the change aosp/2375848. The build of initrd on linux-x86 that has incorrect format (b/264940248) is disabled in this cl. Bug: 260821553 Test: m microdroid_kernel_signed and inspect the output using `avbtool info_image --image ` Change-Id: I3ad2419b7132cde4b2fc34ddfa09ec5ba2166819 --- filesystem/filesystem.go | 1 + 1 file changed, 1 insertion(+) (limited to 'filesystem/filesystem.go') diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go index c73c4a42d..25b8fe89c 100644 --- a/filesystem/filesystem.go +++ b/filesystem/filesystem.go @@ -35,6 +35,7 @@ func registerBuildComponents(ctx android.RegistrationContext) { ctx.RegisterModuleType("android_filesystem", filesystemFactory) ctx.RegisterModuleType("android_system_image", systemImageFactory) ctx.RegisterModuleType("avb_add_hash_footer", avbAddHashFooterFactory) + ctx.RegisterModuleType("avb_gen_vbmeta_image", avbGenVbmetaImageFactory) } type filesystem struct { -- cgit v1.2.3-59-g8ed1b