From 69c07a31dc1d13619d75f1780954b44f8038f32c Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Thu, 8 Aug 2019 21:44:07 +0100 Subject: [PATCH] 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 --- rootdir/etc/init.qcom.rc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index f52f8518..e250548a 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -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