diff options
author | 2024-12-16 14:28:23 -0800 | |
---|---|---|
committer | 2024-12-16 14:42:19 -0800 | |
commit | 1c0260600403df631818a8a3f68b903f4ca67e22 (patch) | |
tree | e19c524bfa601d9f30329d6456c3e71dbf50cd82 /fsgen/filesystem_creator.go | |
parent | 85289cfc214bbd75feb976dcf87986a0a28415c0 (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.go | 5 |
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) |