diff options
author | Arian <arian.kulmer@web.de> | 2019-09-16 15:25:36 +0200 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2019-10-25 22:17:12 +0200 |
commit | 09ab8675a9564e3ecefe9a61ffa919aa0e193ce5 (patch) | |
tree | 3d242f21f6de6ee600309a658c88d6f8ec8af961 /rootdir/etc | |
parent | 25798a5e9b8d786f1277358a0ea4bc5586844482 (diff) |
shinano-common: rootdir: Mount lta-label from fstab
Change-Id: I5056d8f1d3d33d72abeb0129ddfe3929e18163c2
Diffstat (limited to 'rootdir/etc')
-rw-r--r-- | rootdir/etc/fstab.qcom | 1 | ||||
-rw-r--r-- | rootdir/etc/init.qcom.rc | 5 |
2 files changed, 1 insertions, 5 deletions
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 |