lynx: Pull init.insmod.*.cfg from vendor_dlkm
We've started pushing init.insmod.*.cfg into the kernel prebuilts, and installing it to /vendor_dlkm/etc, but it may not be available on all prebuilt variants (e.g., kernel 5.10). Here, we: 1. conditionally install our common init.*cfg to /vendor_dlkm (only if $(TARGET_KERNEL_DIR) doesn't have a copy) 2. point init at /vendor_dlkm/etc When we've cycled completely off of kernel 5.10, we can drop #1. Bug: 369686096 Test: build, boot Flag: EXEMPT refactor Change-Id: Ife4ea982c73a1e91db075dc4798603fca1ca521f
This commit is contained in:
parent
473d21970c
commit
22dd220a6c
2 changed files with 7 additions and 3 deletions
|
@ -16,7 +16,7 @@ on early-boot
|
|||
wait_for_prop vendor.common.modules.ready 1
|
||||
start insmod_sh_lynx
|
||||
|
||||
service insmod_sh_lynx /vendor/bin/insmod.sh /vendor/etc/init.insmod.lynx.cfg
|
||||
service insmod_sh_lynx /vendor/bin/insmod.sh /vendor_dlkm/etc/init.insmod.lynx.cfg
|
||||
class main
|
||||
user root
|
||||
group root system
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue