From ed256498c616086e1e4f0d044bc5a9b6f34dd3a0 Mon Sep 17 00:00:00 2001 From: Prerna Kalla Date: Mon, 17 Aug 2020 15:15:32 +0530 Subject: [PATCH] davinci: rootdir: Support ufs and emmc variant fstab files Two fstabs are needed to support different data unit number (dun) size for ufs and emmc hardwares. This needs different encryption flag in fstab to address the difference in dun size. Change-Id: Ifb0e9132fc91e3281401ac49ad70c695a22c9df5 --- rootdir/etc/init.target.rc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index c577c57..eecf64c 100644 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -57,7 +57,7 @@ on property:ro.boot.product.hardware.sku=davinci enable nqnfc_1_2_hal_service on fs - mount_all /vendor/etc/fstab.qcom --early + mount_all --early restorecon_recursive /mnt/vendor/persist mkdir /mnt/vendor/persist/data 0700 system system @@ -65,10 +65,9 @@ on fs mkdir /mnt/vendor/persist/camera 0777 root root on late-fs - mount_all /vendor/etc/fstab.qcom --late - wait_for_prop hwservicemanager.ready true exec_start wait_for_keymaster + mount_all --late on post-fs-data mkdir /data/vendor/nnhal 0700 system system