summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
author Jihoon Kang <jihoonkang@google.com> 2024-12-02 19:42:20 +0000
committer Jihoon Kang <jihoonkang@google.com> 2024-12-02 23:27:00 +0000
commit3216c986a9c1002c0240093dd25b203b289d22db (patch)
treef2882353373baa2f52a5cd225266a31b491bdcd7 /filesystem/filesystem.go
parentf0eabbf94ffa8acf87e88822ec85c162f33b973e (diff)
Auto generate recovery partition
This change conditionally auto generates the recovery partition in filesystem_generator. Test: m soong_generated_recovery_filesystem_test Bug: 381888358 Change-Id: I8938e842d8587ec1c986542385ed50c19dc1c76d
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r--filesystem/filesystem.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go
index 5b217aeec..21c24cd60 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -762,6 +762,7 @@ var validPartitions = []string{
"system_dlkm",
"ramdisk",
"vendor_ramdisk",
+ "recovery",
}
func (f *filesystem) addMakeBuiltFiles(ctx android.ModuleContext, builder *android.RuleBuilder, rootDir android.Path) {