sanders: Clear the recovery cache in persist on boot
* Due to the way newer TWRP versions are behaving, our relatively small persist partition gets overfilled with recovery logs very quickly. * Let's just remove the recovery cache from persist on every boot to be sure that we always have enough space for anything that writes to persist. Signed-off-by: EsromTech <esromgalaxy5@gmail.com>
This commit is contained in:
@@ -472,6 +472,9 @@ on post-fs-data
|
||||
write /sys/bus/msm_subsys/devices/subsys3/restart_level related
|
||||
write /sys/bus/msm_subsys/devices/subsys4/restart_level related
|
||||
|
||||
# Remove recovery cache from persist
|
||||
rm -rf /mnt/vendor/persist/cache/recovery
|
||||
|
||||
# Create vpp directory
|
||||
mkdir /data/vendor/vpp 0770 media media
|
||||
|
||||
|
||||
Reference in New Issue
Block a user