Merge "Load default/build props from each partition" am: 8dbab358f0

am: 57337e7791

Change-Id: I813ea48bf952b8fdf85c38e937019916f68df784
This commit is contained in:
Jaekyun Seok 2017-01-20 04:05:58 +00:00 committed by android-build-merger
commit ac747ef65a
2 changed files with 6 additions and 0 deletions

View File

@ -439,6 +439,8 @@ static void load_persistent_properties() {
void property_load_boot_defaults() {
load_properties_from_file(PROP_PATH_RAMDISK_DEFAULT, NULL);
load_properties_from_file(PROP_PATH_ODM_DEFAULT, NULL);
load_properties_from_file(PROP_PATH_VENDOR_DEFAULT, NULL);
}
static void load_override_properties() {
@ -501,6 +503,7 @@ void load_recovery_id_prop() {
void load_system_props() {
load_properties_from_file(PROP_PATH_SYSTEM_BUILD, NULL);
load_properties_from_file(PROP_PATH_ODM_BUILD, NULL);
load_properties_from_file(PROP_PATH_VENDOR_BUILD, NULL);
load_properties_from_file(PROP_PATH_FACTORY, "ro.*");
load_recovery_id_prop();

View File

@ -197,7 +197,10 @@ static const struct fs_path_config android_files[] = {
{ 00640, AID_ROOT, AID_SHELL, 0, "fstab.*" },
{ 00600, AID_ROOT, AID_ROOT, 0, "system/build.prop" },
{ 00600, AID_ROOT, AID_ROOT, 0, "vendor/build.prop" },
{ 00600, AID_ROOT, AID_ROOT, 0, "odm/build.prop" },
{ 00600, AID_ROOT, AID_ROOT, 0, "default.prop" },
{ 00600, AID_ROOT, AID_ROOT, 0, "vendor/default.prop" },
{ 00600, AID_ROOT, AID_ROOT, 0, "odm/default.prop" },
{ 00644, AID_ROOT, AID_ROOT, 0, 0 },
};