Merge "Isolate app profile ref data" am: bbf4835c7e
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1729395 Change-Id: I07e352506bc12a246b70b8ece78a6f98c33b7031
This commit is contained in:
commit
9545539454
1 changed files with 3 additions and 0 deletions
|
|
@ -884,6 +884,8 @@ on post-fs-data
|
|||
# Create mirror directory for jit profiles
|
||||
mkdir /data_mirror/cur_profiles 0700 root root
|
||||
mount none /data/misc/profiles/cur /data_mirror/cur_profiles bind rec
|
||||
mkdir /data_mirror/ref_profiles 0700 root root
|
||||
mount none /data/misc/profiles/ref /data_mirror/ref_profiles bind rec
|
||||
|
||||
mkdir /data/cache 0770 system cache encryption=Require
|
||||
mkdir /data/cache/recovery 0770 system cache
|
||||
|
|
@ -1265,6 +1267,7 @@ on userspace-reboot-fs-remount
|
|||
umount /data_mirror/data_ce/null
|
||||
umount /data_mirror/data_de/null
|
||||
umount /data_mirror/cur_profiles
|
||||
umount /data_mirror/ref_profiles
|
||||
umount /data_mirror
|
||||
remount_userdata
|
||||
start bootanim
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue