path: root/rootdir/init.rc
diff options
authorCalin Juravle <>2016-02-01 19:27:01 +0000
committerCalin Juravle <>2016-02-19 13:42:37 +0000
commit807f23aff210064274d332866b3d5f59d0fb743c (patch)
tree5debf12feb191b93854a305f617cde8e7f33244f /rootdir/init.rc
parentdab56737ca898d913c79c4ded76d78d8b3f5ffa3 (diff)
Create profiles folders
Current profiles (the ones which have not been used for compilation) are stored in /data/misc/profiles/cur/0/pkgname/. Reference profiles (the merged of all user profiles, used for compilation) are stored in /data/misc/profiles/ref/pkgname/. Add a method to get the shared app gid from an uid or appid. Bug: 26719109 Bug: 26563023 Change-Id: I89601d7dbeb3041df882c141a9127dac200a645e
Diffstat (limited to 'rootdir/init.rc')
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index faae48efb..03a6919b9 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -363,6 +363,10 @@ on post-fs-data
mkdir /data/misc/boottrace 0771 system shell
mkdir /data/misc/update_engine 0700 root root
mkdir /data/misc/trace 0700 root root
+ # profile file layout
+ mkdir /data/misc/profiles 0771 system system
+ mkdir /data/misc/profiles/cur 0771 system system
+ mkdir /data/misc/profiles/ref 0771 system system
# For security reasons, /data/local/tmp should always be empty.
# Do not place files or directories in /data/local/tmp