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

Commit 03429acc authored by Jooyung Han's avatar Jooyung Han
Browse files

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
parent 7a813fd3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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