diff options
author | Tom Cherry <tomcherry@google.com> | 2019-02-15 15:55:18 -0800 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2019-02-15 15:55:18 -0800 |
commit | d540e527e18f6dba0413c7f754f85e5062f125d7 (patch) | |
tree | 6ff98e0eca80e9e3289c0b287367d875ec62faff /rootdir/init.environ.rc.in | |
parent | 941cb7606c5213468e1c413277c329fdd273af5c (diff) | |
download | system_core-d540e527e18f6dba0413c7f754f85e5062f125d7.tar.gz system_core-d540e527e18f6dba0413c7f754f85e5062f125d7.tar.bz2 system_core-d540e527e18f6dba0413c7f754f85e5062f125d7.zip |
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
Diffstat (limited to 'rootdir/init.environ.rc.in')
-rw-r--r-- | rootdir/init.environ.rc.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |