sdm660-common: Drop the creation of deprecated system_data folders

As per treble rules, this is no longer allowed from within
vendor init. At the same time these folders are long deprecated,
so drop them and get rid of the SELinux denials.

Change-Id: I47d25bcf92dcc16b7b112b7b1257cd3e66fee57b
This commit is contained in:
Bruno Martins 2019-08-08 21:44:07 +01:00 committed by Max Weffers
parent 64d8fdf1ef
commit 69c07a31dc
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE

View file

@ -410,10 +410,6 @@ on post-fs-data
mkdir /dev/socket/wifihal 0770 wifi wifi
chmod 2770 /dev/socket/wifihal
#Create directory for FOTA
mkdir /data/fota 0771
chown system system /data/fota
# SSC/SLPI sensors
mkdir /vendor/mnt/persist/sensors 0775 sensors sensors
write /vendor/mnt/persist/sensors/sensors_settings 1
@ -431,9 +427,6 @@ on post-fs-data
setprop vold.post_fs_data_done 1
#Create a folder for SRS to be able to create a usercfg file
#mkdir /data/data/media 0770 media media
#Create FM dir for patchdownloader
mkdir /data/vendor/fm 0770 system system
chmod 0770 /data/vendor/fm