summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2019-08-08 21:44:07 +0100
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:53 +0300
commit4f871b2e35439f6351f9cf16cbbe6dd8ea36af2c (patch)
tree4c41e73cab1a31b02798379741ea2d9048dffd54
parent8917c7f6bfa975c9e4f60056c7bfa60dd2b8f072 (diff)
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: Iddbee1217d041f0244e93be4dfcc6326e37e643c
-rw-r--r--rootdir/etc/init.qcom.rc13
1 files changed, 1 insertions, 12 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 168f6e0..c0cb3de 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -348,23 +348,12 @@ on post-fs-data
mkdir /dev/socket/location 0770 gps gps
mkdir /dev/socket/location/ehub 0770 gps gps
- #Create directory from IMS services
- mkdir /data/shared 0755
- chown system system /data/shared
-
- #Create directory for FOTA
- mkdir /data/fota 0771
- chown system system /data/fota
-
# Create /data/time folder for time-services
mkdir /data/vendor/time/ 0700 system system
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
+ # Create FM dir for patchdownloader
mkdir /data/vendor/fm 0770 system system
chmod 0770 /data/vendor/fm