init: mount tracefs before apexd-bootstrap
This removes the error log when apexd-bootstrap starts: cutils-trace: Error opening trace file: No such file or directory (2) Bug: 376150518 Test: boot-time trace shows apexd-bootstrap see https://source.android.com/docs/core/perf/boot-times#systrace Change-Id: I5feaece50663a602b61377cee034060fd30217f9
This commit is contained in:
parent
7a813fd35c
commit
03429accee
1 changed files with 3 additions and 3 deletions
|
|
@ -70,6 +70,9 @@ on early-init
|
|||
|
||||
start ueventd
|
||||
|
||||
# Mount tracefs (with GID=AID_READTRACEFS)
|
||||
mount tracefs tracefs /sys/kernel/tracing gid=3012
|
||||
|
||||
# Run apexd-bootstrap so that APEXes that provide critical libraries
|
||||
# become available. Note that this is executed as exec_start to ensure that
|
||||
# the libraries are available to the processes started after this statement.
|
||||
|
|
@ -80,9 +83,6 @@ on early-init
|
|||
mkdir /dev/boringssl 0755 root root
|
||||
mkdir /dev/boringssl/selftest 0755 root root
|
||||
|
||||
# Mount tracefs (with GID=AID_READTRACEFS)
|
||||
mount tracefs tracefs /sys/kernel/tracing gid=3012
|
||||
|
||||
# create sys dirctory
|
||||
mkdir /dev/sys 0755 system system
|
||||
mkdir /dev/sys/fs 0755 system system
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue