summaryrefslogtreecommitdiff
path: root/fsgen/filesystem_creator.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2025-01-15 21:12:36 +0000
committer Spandan Das <spandandas@google.com> 2025-01-15 22:39:07 +0000
commit29d44884a007ebf2046a3e6bb1412381f47cbeaf (patch)
treeb8a9e7510733fa450b82fc8e2a0a76377cb97b01 /fsgen/filesystem_creator.go
parent2da9d9abca8e1a355f8b9fcbb3ae550bfb40a8b6 (diff)
Create a partial META/ subdir in soong target_files.zip
This CL adds the following files to META/ - update_engine_config.txt - zucchini_config.txt - liblz4.so Bug: 388633394 Test: Built the target_files.zip locally and diffed META/ subdir between make and soong Change-Id: Iad635e1382362929beecbc1c9d89e314eddcc90f
Diffstat (limited to 'fsgen/filesystem_creator.go')
-rw-r--r--fsgen/filesystem_creator.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/fsgen/filesystem_creator.go b/fsgen/filesystem_creator.go
index fbe907898..fa871ecb6 100644
--- a/fsgen/filesystem_creator.go
+++ b/fsgen/filesystem_creator.go
@@ -264,7 +264,8 @@ func (f *filesystemCreator) createDeviceModule(
partitionProps.Vbmeta_partitions = vbmetaPartitions
deviceProps := &filesystem.DeviceProperties{
- Main_device: proptools.BoolPtr(true),
+ Main_device: proptools.BoolPtr(true),
+ Ab_ota_updater: proptools.BoolPtr(ctx.Config().ProductVariables().PartitionVarsForSoongMigrationOnlyDoNotUse.AbOtaUpdater),
}
if bootloader, ok := f.createBootloaderFilegroup(ctx); ok {
deviceProps.Bootloader = proptools.StringPtr(":" + bootloader)