summaryrefslogtreecommitdiff
path: root/init/builtins.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-01-13 02:42:31 +0900
committerJiyong Park <jiyong@google.com>2019-01-15 22:40:49 +0900
commit3b316ee20119ad7bf4c56a5abc9fa17ab7e7a4e3 (patch)
treecd6173d37d406ac69529d0ffb1840966047e8b92 /init/builtins.cpp
parent91fa140312d035966e5d86dc7ece789ef9051b01 (diff)
Load build sysprops early
*/build.prop files are now loaded much earlier than before; from 'on post-fs' to the time when the property service is started which is before init starts the action loop. This ensures that all processes that are launched by init have a consistent view of system properties. Previously, the processes that started before 'on post-fs' were initially with the small number of sysprops loaded from */default.prop and then suddenly get additional sysprops from */build.prop while they are executing. Bug: 122714998 Test: device boots Change-Id: Ic07528421dfbe8d4f43673cea41175d33cfbf298
Diffstat (limited to 'init/builtins.cpp')
-rw-r--r--init/builtins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/builtins.cpp b/init/builtins.cpp
index 4a66e46f1..43a520fb9 100644
--- a/init/builtins.cpp
+++ b/init/builtins.cpp
@@ -972,7 +972,7 @@ static Result<Success> do_load_persist_props(const BuiltinArguments& args) {
}
static Result<Success> do_load_system_props(const BuiltinArguments& args) {
- load_system_props();
+ LOG(INFO) << "deprecated action `load_system_props` called.";
return Success();
}