msm8953-common: Fold important parts of late-fs into init.mmi.rc

* I0731bb767ae22863bcb2245eb2f8d5e94d7b3672 dropped `late-fs`
  to prevent bootanimation from starting in charge_only_mode.
  Unfortunately, we missed a few small bits of `late-fs`
  trigger than charge_only_mode depends on. The only remaining
  parts of `late-fs` that have been omitted are "fs tuning" and
  the Pixel optimizations that early start bootanimation.

Change-Id: Iec9146ba7902e78f02361ad3aa53ff76e89feabc
This commit is contained in:
Nolen Johnson
2021-02-02 12:59:34 -05:00
committed by Jorge Lucas
parent c1b0fbc8b0
commit d2463902e2

View File

@@ -235,6 +235,18 @@ on charger
trigger early-fs
trigger fs
trigger post-fs
## Fold important parts of late-fs into `on charger` to prevent
## starting bootanimation in charge_only_mode
# Ensure that tracefs has the correct permissions.
# This does not work correctly if it is called in post-fs.
chmod 0755 /sys/kernel/tracing
chmod 0755 /sys/kernel/debug/tracing
# HALs required before storage encryption can get unlocked (FBE/FDE)
class_start early_hal
trigger post-fs-data
trigger moto-charger
class_stop main