Create the rollback directories in init

Init sets the encryption policy on these directores when created.

Bug: b/139193659
Test: Boot device without this, then try to boot with it without wiping.
Change-Id: I6b26710674b51d62fa4a07b06e06c539571fb7ac
This commit is contained in:
Paul Crowley 2019-08-09 14:13:41 -07:00
parent 943c9ef078
commit 7bf42f148a

View file

@ -609,6 +609,9 @@ on post-fs-data
mkdir /data/cache/backup_stage 0700 system system
mkdir /data/cache/backup 0700 system system
mkdir /data/rollback 0700 system system
mkdir /data/rollback-observer 0700 system system
# Wait for apexd to finish activating APEXes before starting more processes.
wait_for_prop apexd.status ready
parse_apex_configs