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:
parent
e98d76c98e
commit
f2eb39f4d6
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue