land: Mount partitions in fstab
Change-Id: Idb393988181e4cd4be840a4079b16ba45e6809c6
This commit is contained in:
parent
226351dadc
commit
ebb875566f
2 changed files with 4 additions and 18 deletions
|
@ -10,6 +10,10 @@
|
|||
/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/cache /cache ext4 nosuid,nodev,barrier=1 wait
|
||||
/dev/block/bootdevice/by-name/persist /persist ext4 nosuid,nodev,barrier=1 wait
|
||||
/dev/block/bootdevice/by-name/dsp /dsp ext4 ro,nosuid,nodev,barrier=1 wait
|
||||
/dev/block/bootdevice/by-name/modem /firmware vfat ro,context=u:object_r:firmware_file:s0,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337 wait
|
||||
|
||||
/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
|
||||
|
|
|
@ -39,29 +39,11 @@ on post-fs
|
|||
export LD_PRELOAD libNimsWrap.so
|
||||
|
||||
on fs
|
||||
wait /dev/block/bootdevice
|
||||
|
||||
mount_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
|
||||
restorecon_recursive /persist
|
||||
|
||||
wait /dev/block/bootdevice/by-name/dsp
|
||||
mount ext4 /dev/block/bootdevice/by-name/dsp /dsp ro nosuid nodev barrier=1
|
||||
|
||||
wait /dev/block/bootdevice/by-name/modem
|
||||
mount vfat /dev/block/bootdevice/by-name/modem /firmware ro context=u:object_r:firmware_file:s0,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337
|
||||
#write /sys/kernel/boot_adsp/boot 1
|
||||
|
||||
on post-fs
|
||||
wait /dev/block/bootdevice/by-name/oem
|
||||
mount ext4 /dev/block/bootdevice/by-name/oem /oem ro nosuid nodev barrier=1
|
||||
|
|
Loading…
Reference in a new issue