summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-03-24 15:34:47 -0700
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-24 15:34:47 -0700
commitdd87ef7feffcdcbda716508309c6e52d259388a4 (patch)
tree0628bed2ae42d053664a185ac76f9382efb65a8c /filesystem/filesystem.go
parent3c3748a4fefa6c025d273220c8a347ce3ea1c440 (diff)
parentf1153bd2f8a150711b7bfbd54b96667861cc7382 (diff)
Merge "Build and dist updatepackage" into main
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r--filesystem/filesystem.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go
index fd1c784ec..c3c3835f6 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -249,6 +249,10 @@ type FilesystemProperties struct {
// Whether to enable per-file compression in f2fs
Enable_compression *bool
+
+ // Whether this partition is not supported by flashall.
+ // If true, this partition will not be included in the `updatedpackage` dist artifact.
+ No_flashall *bool
}
type AndroidFilesystemDeps struct {
@@ -464,6 +468,7 @@ type FilesystemInfo struct {
AvbHashAlgorithm string
AvbKey android.Path
PartitionName string
+ NoFlashall bool
// HasOrIsRecovery returns true for recovery and for ramdisks with a recovery partition.
HasOrIsRecovery bool
}
@@ -725,6 +730,7 @@ func (f *filesystem) GenerateAndroidBuildActions(ctx android.ModuleContext) {
PartitionSize: f.properties.Partition_size,
PartitionName: f.partitionName(),
HasOrIsRecovery: f.hasOrIsRecovery(ctx),
+ NoFlashall: proptools.Bool(f.properties.No_flashall),
}
if proptools.Bool(f.properties.Use_avb) {
fsInfo.UseAvb = true