init.rc: create /data/vendor* earlier
A recent change moved creating /data/vendor/tombstone earlier than
/data/vendor was created, which would cause /data/vendor/tombstone to
not be created until the second time a device boots, instead of the
first.
This change moves the creation of /data/vendor* earlier, allowing
/data/vendor/tombstone to be created on the first boot.
Bug: 169659307
Test: boot CF for the first time and see /data/vendor/tombstone is
created
Change-Id: I53ee8fbc282bc533d50756ebb4cc65a5ca582088
This commit is contained in:
parent
721825bac9
commit
2c9c8eb5ff
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue