Add rootdir contents to microdroid

These lists are based on rootdir contents. A little more shrinked.

Bug: 179652970
Test: boot with aosp_cf_x86_64_only_phone
Change-Id: I06cc7d5e8a6b7b22270217d6b2d6a1b7e6ecaebc
This commit is contained in:
Inseob Kim 2021-02-09 21:23:36 +09:00
parent a313e56e87
commit 5ffc082419
1 changed files with 31 additions and 0 deletions

View File

@ -2,6 +2,35 @@ package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
microdroid_rootdirs = [
"dev",
"proc",
"sys",
// TODO(b/180267599): clean up unnecessary partition mount points
"system",
"system_ext",
"vendor",
"vendor_dlkm",
"product",
"odm",
"odm_dlkm",
"debug_ramdisk",
"mnt",
"apex",
"linkerconfig",
"second_stage_resources",
"postinstall",
]
microdroid_symlinks = [
{
target: "/sys/kernel/debug",
name: "d",
},
]
android_filesystem {
name: "microdroid",
use_avb: true,
@ -11,6 +40,8 @@ android_filesystem {
"init_second_stage",
],
base_dir: "system",
dirs: microdroid_rootdirs,
symlinks: microdroid_symlinks,
file_contexts: "microdroid_file_contexts",
}