From 09ab8675a9564e3ecefe9a61ffa919aa0e193ce5 Mon Sep 17 00:00:00 2001 From: Arian Date: Mon, 16 Sep 2019 15:25:36 +0200 Subject: shinano-common: rootdir: Mount lta-label from fstab Change-Id: I5056d8f1d3d33d72abeb0129ddfe3929e18163c2 --- rootdir/etc/fstab.qcom | 1 + rootdir/etc/init.qcom.rc | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'rootdir') diff --git a/rootdir/etc/fstab.qcom b/rootdir/etc/fstab.qcom index 4335d7d..7ed54e1 100644 --- a/rootdir/etc/fstab.qcom +++ b/rootdir/etc/fstab.qcom @@ -5,6 +5,7 @@ /dev/block/bootdevice/by-name/boot /boot emmc defaults recoveryonly /dev/block/bootdevice/by-name/FOTAKernel /recovery emmc defaults recoveryonly /dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait,recoveryonly +/dev/block/bootdevice/by-name/LTALabel /lta-label ext4 noatime,nosuid,nodev,noexec,ro,barrier=0 defaults /dev/block/bootdevice/by-name/cache /cache f2fs noatime,nosuid,nodev,rw,inline_xattr wait,check /dev/block/bootdevice/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,noauto_da_alloc wait,check /dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,rw,inline_xattr wait,check,formattable,encryptable=footer,length=-16384 diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index d3a88e6..df42c59 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -75,11 +75,6 @@ on init on fs mount_all ./vendor/etc/fstab.qcom - mkdir /lta-label 0555 system system - wait /dev/block/platform/msm_sdcc.1/by-name/LTALabel - mount ext4 /dev/block/platform/msm_sdcc.1/by-name/LTALabel /lta-label nosuid nodev noatime noexec ro barrier=0 - chown system system /lta-label - chmod 0555 /lta-label # Mount ZRAM swapon_all ./vendor/etc/fstab.qcom -- cgit v1.2.3