summaryrefslogtreecommitdiff
path: root/fsgen/filesystem_creator.go
diff options
context:
space:
mode:
Diffstat (limited to 'fsgen/filesystem_creator.go')
-rw-r--r--fsgen/filesystem_creator.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/fsgen/filesystem_creator.go b/fsgen/filesystem_creator.go
index 4e1ca9e9b..35d2e44cf 100644
--- a/fsgen/filesystem_creator.go
+++ b/fsgen/filesystem_creator.go
@@ -763,8 +763,9 @@ func generateFsProps(ctx android.EarlyModuleContext, partitionType string) (*fil
}
fsProps.Is_auto_generated = proptools.BoolPtr(true)
- // TODO(b/381120092): Verify mount_point for system partition
- fsProps.Mount_point = proptools.StringPtr(partitionType)
+ if partitionType != "system" {
+ fsProps.Mount_point = proptools.StringPtr(partitionType)
+ }
partitionSpecificFsProps(ctx, fsProps, partitionVars, partitionType)