Add /metadata/watchdog
This directory will be used to store the mitigation count from Package Watchdog in the case of a boot loop, in order to persist the value across fs-checkpointing rollbacks. One integer will be stored in a file in this directory, which will be read and then deleted at the next boot. No userdata is stored. See go/rescue-party-reboot for more context. Test: Manual test using debug.crash_sysui property and inspecting file Bug: 171951174 Change-Id: I2bd5e1ebe14d7e9e4f0e0dbeb90cf76b8400752e
This commit is contained in:
parent
f96f8e8c7f
commit
badf3962bc
|
@ -592,6 +592,7 @@ on post-fs
|
|||
mkdir /metadata/ota 0700 root system
|
||||
mkdir /metadata/ota/snapshots 0700 root system
|
||||
mkdir /metadata/userspacereboot 0770 root system
|
||||
mkdir /metadata/watchdog 0770 root system
|
||||
|
||||
mkdir /metadata/apex 0700 root system
|
||||
mkdir /metadata/apex/sessions 0700 root system
|
||||
|
|
Loading…
Reference in New Issue