Mount persist partition in early-init
The graphics hal might need to access /persist early in the boot process. So mount persist early for 4K devices. Test: boot 4K device Bug: 338504890 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:73a68dd6d3794ed8a4e791f2c86c4e55a61ea2aa) Merged-In: I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3 Change-Id: I4b2a0a61ebaff5d85a4daac445d81ae3d21aa9c3
This commit is contained in:
parent
9d0f747603
commit
2d0a254101
2 changed files with 10 additions and 6 deletions
|
@ -15,8 +15,10 @@ on post-fs-data && property:ro.boot.hardware.cpu.pagesize=16384
|
||||||
restorecon_recursive /data/vendor/ss
|
restorecon_recursive /data/vendor/ss
|
||||||
setprop ro.vendor.persist.status mounted
|
setprop ro.vendor.persist.status mounted
|
||||||
|
|
||||||
on late-fs && property:ro.boot.hardware.cpu.pagesize=4096
|
on early-init && property:ro.boot.hardware.cpu.pagesize=4096
|
||||||
mount_all /vendor/etc/fstab.efs
|
mount_all /vendor/etc/fstab.persist --early
|
||||||
mount_all /vendor/etc/fstab.persist
|
|
||||||
setprop ro.vendor.persist.status mounted
|
setprop ro.vendor.persist.status mounted
|
||||||
|
|
||||||
|
on late-fs && property:ro.boot.hardware.cpu.pagesize=4096
|
||||||
|
mount_all /vendor/etc/fstab.efs --early
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
on late-fs
|
on early-init
|
||||||
mount_all /vendor/etc/fstab.efs
|
mount_all /vendor/etc/fstab.persist --early
|
||||||
mount_all /vendor/etc/fstab.persist
|
|
||||||
setprop ro.vendor.persist.status mounted
|
setprop ro.vendor.persist.status mounted
|
||||||
|
|
||||||
|
on late-fs
|
||||||
|
mount_all /vendor/etc/fstab.efs --early
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue