diff options
| author | 2024-11-26 22:13:34 +0000 | |
|---|---|---|
| committer | 2024-11-26 22:13:34 +0000 | |
| commit | 5e44cee818cab5375f55825841800c5d30a0c42d (patch) | |
| tree | 3277af62acaa6e9abb671e2bc7e485f46b0eb055 /filesystem/filesystem.go | |
| parent | 60c23299f02ab9268c7957dc9315fe79f7a8b23b (diff) | |
| parent | 43a52c74aec22fcf161a5982aa36e9afd5513f0d (diff) | |
Merge "Disable sparse filesystems" into main
Diffstat (limited to 'filesystem/filesystem.go')
| -rw-r--r-- | filesystem/filesystem.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go index dadacae3d..019cc2579 100644 --- a/filesystem/filesystem.go +++ b/filesystem/filesystem.go @@ -594,6 +594,13 @@ func (f *filesystem) buildPropFile(ctx android.ModuleContext) (android.Path, and addStr("hash_seed", uuid) } + // TODO(b/381120092): This should only be added if none of the size-related properties are set, + // but currently soong built partitions don't have size properties. Make code: + // https://cs.android.com/android/platform/superproject/main/+/main:build/make/core/Makefile;l=2262;drc=39cd33701c9278db0e7e481a090605f428d5b12d + // Make uses system_disable_sparse but disable_sparse has the same effect, and we shouldn't need + // to qualify it because each partition gets its own property file built. + addStr("disable_sparse", "true") + fst := f.fsType(ctx) switch fst { case erofsType: |