Kelvin Zhang 99f848ed48 Add a different implementation of insmod.sh
Use soong namespace to branch a implementation of insmod.sh .
The newly added implementation is only added to PRODUCT_PACKAGE
for dev option enabled devices. The only change to the script is
skip loading kernel modules from vendor|system_dlkm when under 16K
mode.

Test: Dev option works
Bug: 319335586

This reverts commit 11eb02562d7e89037c67f5a22a142b110b303a30.

Change-Id: I5f5d4ee79be7f872ec321e93f58f6516974d0cad
2024-05-09 09:46:55 -07:00

15 lines
202 B
Plaintext

soong_namespace {
}
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
sh_binary {
name: "insmod.sh",
src: "insmod.sh",
init_rc: ["init.module.rc"],
vendor: true,
}