Create /metadata/password_slots during boot.

This directory is used to store the Weaver/GateKeeper slot map so GSIs
do not overwrite host keys in secure storage.

Bug: 123716647
Test: /metadata/password_slots exists after boot
Change-Id: Ib0ca13edec38e68cba1fc2124465571feedc4be7
This commit is contained in:
David Anderson 2019-03-05 22:16:36 -08:00
parent 924eec9518
commit 0664f31dd0
1 changed files with 1 additions and 0 deletions

View File

@ -397,6 +397,7 @@ on post-fs
restorecon_recursive /metadata
mkdir /metadata/vold
chmod 0700 /metadata/vold
mkdir /metadata/password_slots 0771 root system
on late-fs
# Ensure that tracefs has the correct permissions.