mirror of
https://github.com/Evolution-X-Devices/device_google_zuma
synced 2026-01-28 01:45:05 +00:00
DO NOT MERGE - Run fsck to resolve possible data corruption
Cherry-picked from http://ag/25163335. 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 Change-Id: Ie6b9fc94752d91e77e8fc48979216917c1fd9ec3 Merged-In: Ie6b9fc94752d91e77e8fc48979216917c1fd9ec3 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
This commit is contained in:
@@ -44,6 +44,10 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.thermal_warmreset = true
|
||||
|
||||
# Trigger fsck on upgrade (305658663)
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.preventative_fsck = 1
|
||||
|
||||
# Indicate that the bootloader supports the MTE developer option switch
|
||||
# (MISC_MEMTAG_MODE_MEMTAG_ONCE), with the exception of _fullmte products that
|
||||
# force enable MTE.
|
||||
|
||||
Reference in New Issue
Block a user