From d540e527e18f6dba0413c7f754f85e5062f125d7 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Fri, 15 Feb 2019 15:55:18 -0800 Subject: [PATCH] Export init.environ.rc in early-init instead of init Now that we always have system mounted early, we're starting to load various daemons during the `init` trigger and these daemons need the environment set up from init.environ.rc, so we move it to early-init. This shouldn't need to go any further earlier in the future, since nothing besides ueventd should ever start in early-init. Test: systems boot, early daemons get right environment Change-Id: I02f425a1500377c5de3427afa7872073e77a066f --- rootdir/init.environ.rc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/init.environ.rc.in b/rootdir/init.environ.rc.in index d10f7c1fe..d5665f248 100644 --- a/rootdir/init.environ.rc.in +++ b/rootdir/init.environ.rc.in @@ -1,5 +1,5 @@ # set up the global environment -on init +on early-init export ANDROID_BOOTLOGO 1 export ANDROID_ROOT /system export ANDROID_ASSETS /system/app