diff --git a/rootdir/init.rc b/rootdir/init.rc index 7edf3c35e..3146f369e 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -561,6 +561,11 @@ on post-fs-data # Make sure that apexd is started in the default namespace enter_default_mount_ns + mkdir /data/vendor 0771 root root encryption=Require + mkdir /data/vendor_ce 0771 root root encryption=None + mkdir /data/vendor_de 0771 root root encryption=None + mkdir /data/vendor/hardware 0771 root root + # Start tombstoned early to be able to store tombstones. mkdir /data/tombstones 0771 system system encryption=Require mkdir /data/vendor/tombstones 0771 root root @@ -653,11 +658,6 @@ on post-fs-data mkdir /data/preloads 0775 system system encryption=None - mkdir /data/vendor 0771 root root encryption=Require - mkdir /data/vendor_ce 0771 root root encryption=None - mkdir /data/vendor_de 0771 root root encryption=None - mkdir /data/vendor/hardware 0771 root root - # For security reasons, /data/local/tmp should always be empty. # Do not place files or directories in /data/local/tmp mkdir /data/local/tmp 0771 shell shell