From 69464c3d3f5616b635c7ead3c66a53763cabd72a Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Fri, 25 Oct 2024 20:08:06 +0000 Subject: 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 --- filesystem/filesystem.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filesystem/filesystem.go') 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 ". - Symlinks []symlinkDefinition + Symlinks []SymlinkDefinition // Seconds since unix epoch to override timestamps of file entries Fake_timestamp *string -- cgit v1.2.3-59-g8ed1b