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:
parent
37fd839fc2
commit
9e9f05e5eb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue