summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
author Hugo Drumond Jacob <hugojacob@google.com> 2024-10-21 09:55:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-10-21 09:55:45 +0000
commit69d829a14a5d16300d4191ec2d9edde0e4727908 (patch)
tree816d46d0db9116c28acb0366d366d0ccde5121d4 /filesystem/filesystem.go
parent02adec80da9796d685765dfb2ee8e96518072d3c (diff)
Revert^2 "Use a partition packaging spec filter for android_filesystem"
This reverts commit 02adec80da9796d685765dfb2ee8e96518072d3c. Reason for revert: b/374239899 Bug: 374239899 Change-Id: I263c11d02d26ea150484c185745cf58253352769
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r--filesystem/filesystem.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go
index 4bdd0a4c7..9756b821b 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -264,7 +264,7 @@ func (f *filesystem) partitionName() string {
func (f *filesystem) filterInstallablePackagingSpec(ps android.PackagingSpec) bool {
// Filesystem module respects the installation semantic. A PackagingSpec from a module with
// IsSkipInstall() is skipped.
- return !ps.SkipInstall()
+ return !ps.SkipInstall() && (ps.Partition() == f.PartitionType())
}
var pctx = android.NewPackageContext("android/soong/filesystem")