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.
Cherrypicked-From: 7bf42f148a
Change-Id: I6b26710674b51d62fa4a07b06e06c539571fb7ac
Merged-In: I6b26710674b51d62fa4a07b06e06c539571fb7ac
This commit is contained in:
parent
3bd09415a3
commit
8184d7c2a5
1 changed files with 3 additions and 0 deletions
|
@ -618,6 +618,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
|
||||
|
|
Loading…
Reference in a new issue