Merge "init.rc: create /data/vendor* earlier"

This commit is contained in:
Tom Cherry 2020-10-19 14:57:43 +00:00 committed by Gerrit Code Review
commit dd5184f858

View file

@ -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