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

Commit 0664f31d authored by David Anderson's avatar David Anderson
Browse files

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
parent 924eec95
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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.