diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2023-02-07 18:54:40 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2023-02-07 13:35:35 +0000 |
commit | 43bc0091dba8b32e714569d55aed6551a307277b (patch) | |
tree | d9ffcc6ae0ca34cabbb1eca1a3f852b24214e298 | |
parent | 925a287c261a06b0d34aa662f90f993e2d6362c9 (diff) |
device-common: Do not strip signed GKI modules
Do not strip signed GKI modules while installing them in
vendor_ramdisk. Otherwise we run into the following fatal
error while loading signed GKI modules:
"module verification failed: signature and/or required key missing - tainting kernel"
Ideally signed GKI modules should go in a separate
system_dlkm partition, but we don't have that part supported
on dragonboards yet. So this is a temporary hack while a
proper fix is being worked upon.
Change-Id: Id7ce6b5fe073d224510c2622b4d6dda041bde7c2
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | device-common.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/device-common.mk b/device-common.mk index 5ee218a..d2d2036 100644 --- a/device-common.mk +++ b/device-common.mk @@ -21,6 +21,7 @@ TARGET_USES_GKI ?= true ifeq ($(TARGET_USES_GKI), true) TARGET_MODS := $(wildcard $(TARGET_KERNEL_DIR)/*.ko) ifneq ($(TARGET_MODS),) + BOARD_DO_NOT_STRIP_VENDOR_RAMDISK_MODULES := true BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(TARGET_MODS) endif endif |