mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 19:18:35 +00:00
Run fsck to resolve possible data corruption
Trigger fsck on mount of /data if the value of ro.preventative_fsck is not equal to the contents of /metadata/vold/preventative_fsck, then set the file to the property to prevent future runs See b/305658663 for context Bug: 305658663 Test: Make sure fsck run after first boot and not after second Change-Id: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
This commit is contained in:
committed by
Jaegeuk Kim
parent
5c4cbe4023
commit
e4a81c0e8f
@@ -51,3 +51,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
# Set thermal warm reset
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.thermal_warmreset = true
|
||||
|
||||
# Trigger fsck on upgrade (305658663)
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.preventative_fsck = 1
|
||||
Reference in New Issue
Block a user