Create the rollback directories in init (1/n)

/data/rollback-history is used to store deleted rollbacks
for debugging purpose.

Bug: 172644981
Test: Boot device without this, then try to boot with it without wiping.
Change-Id: I79da5190aad455448ccd73fe42abdc79b3649e86
This commit is contained in:
JW Wang 2020-11-13 15:45:49 +08:00
parent 13e33f7f80
commit 5fc74a490e
1 changed files with 1 additions and 0 deletions

View File

@ -792,6 +792,7 @@ on post-fs-data
# Delete these if need be, per b/139193659
mkdir /data/rollback 0700 system system encryption=DeleteIfNecessary
mkdir /data/rollback-observer 0700 system system encryption=DeleteIfNecessary
mkdir /data/rollback-history 0700 system system encryption=DeleteIfNecessary
# Create root dir for Incremental Service
mkdir /data/incremental 0771 system system encryption=Require