caiman: add etm modules in userdebug/eng builds

Since etm modules are not in the normal kernel prebuilts,
they get left out of modules.load. So also import rc
file to load them.

Bug: 321061072
Test: build and run caiman
Change-Id: Iaf41244bc1135b7528d3a3ec3e92a4e644f5ee53
This commit is contained in:
Yabin Cui 2024-02-28 10:13:56 -08:00
parent ca29bc0475
commit 06b08f2a8b
3 changed files with 16 additions and 0 deletions

View file

@ -71,3 +71,10 @@ on property:sys.boot_completed=1
chown system input /dev/touch_offload
chmod 660 /dev/touch_offload
start twoshay
# ETM
on init && property:ro.build.flavor=caiman-userdebug
import /vendor/etc/init/hw/init.etm.rc
on init && property:ro.build.flavor=caiman-eng
import /vendor/etc/init/hw/init.etm.rc