aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2018-03-01 02:18:36 +0100
committerDave Antoine <bryan2894@gmail.com>2018-03-18 02:05:51 +0000
commit97d450f9293cb572bb39893f5aeffe16dcfd9c9f (patch)
tree779938e7dad2093c06edcc6e5b33ff7e2551b5b0
parent5fe17a8393f7cb051b42be0b2ebefb3d96036480 (diff)
d855: set /system mount as recoveryonly
* Mounting /system partition is handled in kernel now, however removing the entry from fstab caused issues building the OTA. Simply setting the recoveryonly flag does the trick because those are then ignored during a normal Android boot. Change-Id: I8e558458b984e97a45a920c3751a6b7c3f2ebc5c
-rw-r--r--rootdir/etc/fstab.g32
1 files changed, 1 insertions, 1 deletions
diff --git a/rootdir/etc/fstab.g3 b/rootdir/etc/fstab.g3
index d95acaf..a2a9aee 100644
--- a/rootdir/etc/fstab.g3
+++ b/rootdir/etc/fstab.g3
@@ -6,7 +6,7 @@
# Currently we dont have e2fsck compiled. So fs check would failed.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
-/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1,noatime wait
+/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1,noatime wait,recoveryonly
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/encrypt
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,noatime,noauto_da_alloc,errors=continue,journal_async_commit wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/encrypt
/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check,formattable