summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-10-25 20:08:06 +0000
committer Spandan Das <spandandas@google.com> 2024-10-25 20:23:04 +0000
commit69464c3d3f5616b635c7ead3c66a53763cabd72a (patch)
tree07a513f457a9b19a592831f53b670675a64133f3 /filesystem/filesystem.go
parent2ffaad109305f030ab073084b1aac31cc73ab1c4 (diff)
Install cross partition symlinks in autogenerated vendor.img
These match the symlinks present in the kati built vendor.img file. Since structs are not supported in `generateBpContent`, Android.bp generation for vendor is skipped for now. Bug: 374371755 Test: Verified that odm and lib/modules are present in vendor.img's fileList for aosp_cf_x86_64_phone Change-Id: I2564d23a5fc3b8e1aad360373ff2c103a074cfe7
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r--filesystem/filesystem.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go
index ca0a7f7c2..97421c8a3 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -66,7 +66,7 @@ type filesystem struct {
entries []string
}
-type symlinkDefinition struct {
+type SymlinkDefinition struct {
Target *string
Name *string
}
@@ -111,7 +111,7 @@ type FilesystemProperties struct {
Dirs proptools.Configurable[[]string]
// Symbolic links to be created under root with "ln -sf <target> <name>".
- Symlinks []symlinkDefinition
+ Symlinks []SymlinkDefinition
// Seconds since unix epoch to override timestamps of file entries
Fake_timestamp *string