Mount efs and persist partitions at right stage for 4kb and 16kb
Bug: 373455889 Bug: 347108593 Test: Built and flash zumapro device Flag: EXEMPT bugfix Change-Id: Ibe8d50d77c47de6fd75df6a22931d4dd0c05399a
This commit is contained in:
parent
07325b3e74
commit
2a8f6806b2
3 changed files with 12 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
# This RC file is used for:
|
||||||
|
# - 16kb Developer option
|
||||||
|
# - 16kb targets only
|
||||||
|
|
||||||
service copy_efs_files_to_data /vendor/bin/copy_efs_files_to_data
|
service copy_efs_files_to_data /vendor/bin/copy_efs_files_to_data
|
||||||
user root
|
user root
|
||||||
group root radio system audio media graphics camera
|
group root radio system audio media graphics camera
|
||||||
|
@ -5,7 +9,7 @@ service copy_efs_files_to_data /vendor/bin/copy_efs_files_to_data
|
||||||
oneshot
|
oneshot
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
on post-fs-data
|
on post-fs-data && property:ro.boot.hardware.cpu.pagesize=16384
|
||||||
mkdir /data/vendor/copied 0775 radio system
|
mkdir /data/vendor/copied 0775 radio system
|
||||||
restorecon_recursive /data/vendor/copied
|
restorecon_recursive /data/vendor/copied
|
||||||
exec_start copy_efs_files_to_data
|
exec_start copy_efs_files_to_data
|
||||||
|
@ -14,7 +18,10 @@ on post-fs-data
|
||||||
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
|
on late-fs && property:ro.boot.hardware.cpu.pagesize=4096
|
||||||
|
mount_all /vendor/etc/fstab.efs --early
|
||||||
|
|
||||||
|
on property:ro.vendor.persist.status=mounted
|
||||||
# for modem related functions
|
# for modem related functions
|
||||||
restorecon_recursive /mnt/vendor/efs
|
restorecon_recursive /mnt/vendor/efs
|
||||||
chown radio system /mnt/vendor/efs
|
chown radio system /mnt/vendor/efs
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
on late-fs
|
on late-fs
|
||||||
mount_all /vendor/etc/fstab.efs --early
|
mount_all /vendor/etc/fstab.efs --early
|
||||||
|
|
||||||
|
on property:ro.vendor.persist.status=mounted
|
||||||
# for modem related functions
|
# for modem related functions
|
||||||
restorecon_recursive /mnt/vendor/efs
|
restorecon_recursive /mnt/vendor/efs
|
||||||
chown radio system /mnt/vendor/efs
|
chown radio system /mnt/vendor/efs
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
on early-init
|
on early-init && property:ro.boot.hardware.cpu.pagesize=4096
|
||||||
mount_all /vendor/etc/fstab.persist --early
|
mount_all /vendor/etc/fstab.persist --early
|
||||||
setprop ro.vendor.persist.status mounted
|
setprop ro.vendor.persist.status mounted
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue