init: restorecon efs partitions before chown

For the 1st boot with efs erased, we need to relabel efs first to chown
for rfsd and cbd to access.

Bug: 184221482
Test: Check rfsd and cbd could access efs w/wo erasing.

Change-Id: Ib186cf5c9375ebef177081a612d5486c35fc20f4
This commit is contained in:
SalmaxChang 2021-04-02 02:14:02 +08:00 committed by Salmax Chang
parent e98d76c98e
commit f2eb39f4d6

View file

@ -414,12 +414,12 @@ on property:persist.vendor.radio.no_modem_board=1
on fs
mount_all /vendor/etc/fstab.gs101 --early
chown radio system /mnt/vendor/efs
restorecon_recursive /mnt/vendor/efs
chown radio system /mnt/vendor/efs_backup
chown radio system /mnt/vendor/efs
restorecon_recursive /mnt/vendor/efs_backup
chown radio system /mnt/vendor/modem_userdata
chown radio system /mnt/vendor/efs_backup
restorecon_recursive /mnt/vendor/modem_userdata
chown radio system /mnt/vendor/modem_userdata
restorecon_recursive /mnt/vendor/persist
restorecon_recursive /mnt/vendor/persist/audio