From 3bcb16b305726048905f6cc3ab377c5977008a4d Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 28 Oct 2011 13:10:50 +0000 Subject: package/blockmount: simplify extroot module loading logic SVN-Revision: 28650 --- include/kernel.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/kernel.mk b/include/kernel.mk index 9e94dce3b9..0df0337c49 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -90,7 +90,8 @@ define ModuleAutoLoad done; \ if [ -e $(2)/etc/modules.d/$$$$$$$$priority-$(1) ]; then \ if [ "$$$$$$$$boot" = "1" ]; then \ - echo '# May be required for rootfs' >> $(2)/etc/modules.d/$$$$$$$$priority-$(1); \ + mkdir -p $(2)/etc/modules-boot.d; \ + ln -s ../modules.d/$$$$$$$$priority-$(1) $(2)/etc/modules-boot.d/; \ fi; \ modules="$$$$$$$${modules:+$$$$$$$$modules }$$$$$$$$priority-$(1)"; \ fi; \ -- cgit v1.2.3