Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8184d7c2 authored by Paul Crowley's avatar Paul Crowley
Browse files

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: 7bf42f14
Change-Id: I6b26710674b51d62fa4a07b06e06c539571fb7ac
Merged-In: I6b26710674b51d62fa4a07b06e06c539571fb7ac
parent 3bd09415
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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