diff options
Diffstat (limited to 'filesystem/super_image.go')
-rw-r--r-- | filesystem/super_image.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/filesystem/super_image.go b/filesystem/super_image.go index 74c7b659e..5e62fa702 100644 --- a/filesystem/super_image.go +++ b/filesystem/super_image.go @@ -78,6 +78,8 @@ type SuperImageProperties struct { // specified we default to COW version 2 in update_engine for backwards compatibility Cow_version *int64 } + // Whether the super image will be disted in the update package + Super_image_in_update_package *bool } type PartitionGroupsInfo struct { @@ -304,6 +306,9 @@ func (s *superImage) dumpDynamicPartitionInfo(ctx android.ModuleContext, sb *str if len(s.properties.Block_devices) > 0 { addStr("super_block_devices", strings.Join(s.properties.Block_devices, " ")) } + if proptools.Bool(s.properties.Super_image_in_update_package) { + addStr("super_image_in_update_package", "true") + } addStr("super_partition_size", strconv.Itoa(proptools.Int(s.properties.Size))) // TODO: In make, there's more complicated logic than just this surrounding super_*_device_size addStr("super_super_device_size", strconv.Itoa(proptools.Int(s.properties.Size))) |