summaryrefslogtreecommitdiff
path: root/fsgen/filesystem_creator.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-12-16 14:28:23 -0800
committer Cole Faust <colefaust@google.com> 2024-12-16 14:42:19 -0800
commit1c0260600403df631818a8a3f68b903f4ca67e22 (patch)
treee19c524bfa601d9f30329d6456c3e71dbf50cd82 /fsgen/filesystem_creator.go
parent85289cfc214bbd75feb976dcf87986a0a28415c0 (diff)
Remove mount_point property from system images
This causes another layer of system/ folders in the built image, which differs from make. Bug: 381120092 Test: diff'd mounted images Change-Id: I938178bf2358cf90cea1e8f3f5a06a3de7096b84
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)