[source] Revert "kernel: do not try to probe builtin modules on empty kmod package install"

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 21 09:55:28 PDT 2017


jow pushed a commit to source.git, branch master:
https://git.lede-project.org/3e26340a2e5066770c1fd664cdf819899b0f26d7

commit 3e26340a2e5066770c1fd664cdf819899b0f26d7
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Fri Jul 21 18:53:07 2017 +0200

    Revert "kernel: do not try to probe builtin modules on empty kmod package install"
    
    This change currently causes some issues with loading out of tree kernel modules
    so revert that commit for now.
    
    Reverts commit 34c01e68b5d6b06ce3794ef0e2b06e81ec3ce8ca. Fixes FS#919.
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 include/kernel.mk | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/kernel.mk b/include/kernel.mk
index d780ef0..7674f0d 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -136,7 +136,6 @@ define ModuleAutoLoad
 		local mod; \
 		shift 2; \
 		for mod in $$$$$$$$mods; do \
-			[ -e $(2)/$(MODULES_SUBDIR)/$$$$$$$$mod.ko ] || continue; \
 			mkdir -p $(2)/etc/modules.d; \
 			echo "$$$$$$$$mod" >> $(2)/etc/modules.d/$(1); \
 		done; \
@@ -155,7 +154,6 @@ define ModuleAutoLoad
 		local mod; \
 		shift 3; \
 		for mod in $$$$$$$$mods; do \
-			[ -e $(2)/$(MODULES_SUBDIR)/$$$$$$$$mod.ko ] || continue; \
 			mkdir -p $(2)/etc/modules.d; \
 			echo "$$$$$$$$mod" >> $(2)/etc/modules.d/$$$$$$$$priority-$(1); \
 		done; \



More information about the lede-commits mailing list