land: Stop mounting /cust

This is only for MIUI customisations.

Change-Id: I610b3a05ddd8eb15043d8337da5dec25b04f9c2e
This commit is contained in:
Zhao Wei Liew 2016-11-01 17:38:36 +08:00
parent 32b802e23f
commit 84a127fdcb
2 changed files with 1 additions and 12 deletions

View file

@ -10,7 +10,7 @@
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1,discard wait
/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard wait,resize,check,forceencrypt=footer
/dev/block/bootdevice/by-name/cust /cust ext4 nosuid,nodev,barrier=1 wait,check
/devices/soc/7864900.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,noemulatedsd,encryptable=footer
/dev/block/bootdevice/by-name/config /frp emmc defaults defaults
/devices/soc/78db000.usb/msm_hsusb_host* /storage/usbotg vfat nosuid,nodev wait,voldmanaged=usbotg:auto

View file

@ -35,9 +35,6 @@ on early-init
symlink /data/tombstones /tombstones
mkdir /dsp 0771 media media
on init
mkdir /cust 0771 system system
on post-fs
export LD_PRELOAD libNimsWrap.so
@ -66,14 +63,6 @@ on fs
#write /sys/kernel/boot_adsp/boot 1
on post-fs
# We chown/chmod /cust again so because mount is run as root + defaults
chown system system /cust
chmod 0771 /cust
# We restorecon /cust in case the cust partition has been reset.
restorecon_recursive /cust
# create the lost+found directories, so as to enforce our permissions
mkdir /cust/lost+found 0770 root root
wait /dev/block/bootdevice/by-name/oem
mount ext4 /dev/block/bootdevice/by-name/oem /oem ro nosuid nodev barrier=1