Since /persisit was previously mounted during eraly-init stage, this CL delays the /persist mount to post-fs-data stage. Actions which depends on the /persist partition are also moved. Bug: 319335586 Change-Id: I6bcc775f16331905c6896f3a2ec5bbea9e20744f
30 lines
1 KiB
Text
30 lines
1 KiB
Text
|
|
service copy_efs_files_to_data /vendor/bin/copy_efs_files_to_data
|
|
user root
|
|
group root radio system audio media graphics camera
|
|
stdio_to_kmsg
|
|
oneshot
|
|
disabled
|
|
|
|
on post-fs-data && property:ro.boot.flash.locked=0
|
|
mkdir /data/vendor/copied 0775 radio system
|
|
restorecon_recursive /data/vendor/copied
|
|
restorecon_recursive /mnt/vendor
|
|
mount_all /vendor/etc/fstab.efs
|
|
mount_all /vendor/etc/fstab.persist
|
|
exec_start copy_efs_files_to_data
|
|
umount_all /vendor/etc/fstab.efs
|
|
umount_all /vendor/etc/fstab.persist
|
|
mount_all /vendor/etc/fstab.efs.from_data
|
|
restorecon_recursive /mnt/vendor/efs
|
|
restorecon_recursive /mnt/vendor/efs_backup
|
|
restorecon_recursive /mnt/vendor/modem_userdata
|
|
restorecon_recursive /mnt/vendor/persist
|
|
restorecon_recursive /data/vendor/ss
|
|
setprop ro.vendor.persist.status mounted
|
|
|
|
on post-fs-data && property:ro.boot.flash.locked=1
|
|
mount_all /vendor/etc/fstab.efs
|
|
mount_all /vendor/etc/fstab.persist
|
|
setprop ro.vendor.persist.status mounted
|
|
|