From d6e7f88e927d637dbbab80ef5b4b6612beae34bf Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Fri, 23 Nov 2018 13:10:32 +0000 Subject: [PATCH] Add ANDROID_RUNTIME_ROOT environment variable This change adds an ANDROID_RUNTIME_ROOT environment variable to indicate the root of the Android runtime. This can be used in place of ANDROID_SYSTEM to locate files when they move inside the runtime APEX. Bug: 119935277 Test: build / boot Change-Id: Ic3b1ae3e3c98eea7d7c59e514ce62994679ab7b7 --- rootdir/init.environ.rc.in | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/init.environ.rc.in b/rootdir/init.environ.rc.in index 457677678..d10f7c1fe 100644 --- a/rootdir/init.environ.rc.in +++ b/rootdir/init.environ.rc.in @@ -5,6 +5,7 @@ on init export ANDROID_ASSETS /system/app export ANDROID_DATA /data export ANDROID_STORAGE /storage + export ANDROID_RUNTIME_ROOT /apex/com.android.runtime export EXTERNAL_STORAGE /sdcard export ASEC_MOUNTPOINT /mnt/asec export BOOTCLASSPATH %BOOTCLASSPATH%