restorecon /data/misc/media.

Otherwise it will be mislabeled on upgrades with existing userdata.

Change-Id: Ibde88d5d692ead45b480bb34cfe0831baeffbf94
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
This commit is contained in:
Stephen Smalley 2014-01-15 13:19:31 -05:00
parent 37fd839fc2
commit 9e9f05e5eb
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ on post-fs-data
chmod 0660 /data/misc/wifi/wpa_supplicant.conf
mkdir /data/local 0751 root root
mkdir /data/misc/media 0700 media media
restorecon_recursive /data/misc/media
# Set security context of any pre-existing /data/misc/adb/adb_keys file.
restorecon /data/misc/adb