diff options
-rw-r--r-- | build_utils.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build_utils.sh b/build_utils.sh index 3b48cbe..9866a34 100644 --- a/build_utils.sh +++ b/build_utils.sh @@ -299,9 +299,12 @@ function build_system_dlkm() { echo " Creating system_dlkm image" rm -rf ${SYSTEM_DLKM_STAGING_DIR} + # MODULES_[RECOVERY_LIST|CHARGER]_LIST should not influence system_dlkm, as + # GKI modules are not loaded when booting into either recovery or charger + # modes, so do not consider them, and pass empty strings instead. create_modules_staging "${SYSTEM_DLKM_MODULES_LIST:-${MODULES_LIST}}" "${MODULES_STAGING_DIR}" \ ${SYSTEM_DLKM_STAGING_DIR} "${SYSTEM_DLKM_MODULES_BLOCKLIST:-${MODULES_BLOCKLIST}}" \ - "${MODULES_RECOVERY_LIST:-""}" "${MODULES_CHARGER_LIST:-""}" "-e" + "" "" "-e" local system_dlkm_root_dir=$(echo ${SYSTEM_DLKM_STAGING_DIR}/lib/modules/*) cp ${system_dlkm_root_dir}/modules.load ${DIST_DIR}/system_dlkm.modules.load |