aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2018-01-04 19:50:31 +0100
committerDavide Garberi <dade.garberi@gmail.com>2018-01-04 19:51:28 +0100
commit58caa1f820f1fc599a5c8d10d7d354b706dc67c5 (patch)
treed0df3c4121fb7e06589356366fee31f9b7382048
parenteb370f44081b733e5c5a1896b0b4a7fe912d57ef (diff)
msm8996-common: rootdir: init.qcom.rc: Remove partitions already present in the fstab
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
-rwxr-xr-xrootdir/etc/init.qcom.rc23
1 files changed, 0 insertions, 23 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index e5abc21..7a4b8a9 100755
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -38,7 +38,6 @@ on early-init
mkdir /dsp 0771 media media
on init
-
# Set permissions for persist partition
mkdir /persist 0771 system system
@@ -73,28 +72,6 @@ on fs
mount_all fstab.qcom
swapon_all fstab.qcom
- # Keeping following partitions outside fstab file. As user may not have
- # these partition flashed on the device. Failure to mount any partition in fstab file
- # results in failure to launch late-start class.
-
- wait /dev/block/bootdevice/by-name/cache
- mount ext4 /dev/block/bootdevice/by-name/cache /cache nosuid nodev barrier=1
-
- wait /dev/block/bootdevice/by-name/persist
- mount ext4 /dev/block/bootdevice/by-name/persist /persist nosuid nodev barrier=1
- mkdir /persist/data 0700 system system
- mkdir /persist/bms 0700 root system
- restorecon_recursive /persist
-
- wait /dev/block/bootdevice/by-name/dsp
- mount ext4 /dev/block/bootdevice/by-name/dsp /dsp nosuid nodev barrier=1
-
- wait /dev/block/bootdevice/by-name/modem
- mount vfat /dev/block/bootdevice/by-name/modem /firmware ro shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0
-
- wait /dev/block/bootdevice/by-name/bluetooth
- mount vfat /dev/block/bootdevice/by-name/bluetooth /bt_firmware ro shortname=lower,uid=1002,gid=3002,dmask=227,fmask=337,context=u:object_r:bt_firmware_file:s0
-
on boot
# Secure touch