summaryrefslogtreecommitdiff
path: root/filesystem/system_image.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/system_image.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/system_image.go')
-rw-r--r--filesystem/system_image.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/filesystem/system_image.go b/filesystem/system_image.go
index 57239ae3f..7dbf98644 100644
--- a/filesystem/system_image.go
+++ b/filesystem/system_image.go
@@ -103,6 +103,6 @@ func (s *systemImage) buildLinkerConfigFile(ctx android.ModuleContext, root andr
// partition. Note that "apex" module installs its contents to "apex"(fake partition) as well
// for symbol lookup by imitating "activated" paths.
func (s *systemImage) filterPackagingSpec(ps android.PackagingSpec) bool {
- return s.filesystem.filterInstallablePackagingSpec(ps) &&
+ return !ps.SkipInstall() &&
(ps.Partition() == "system" || ps.Partition() == "root")
}