diff options
author | Nicolas Thill <nico@openwrt.org> | 2011-10-28 13:10:50 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2011-10-28 13:10:50 +0000 |
commit | 3bcb16b305726048905f6cc3ab377c5977008a4d (patch) | |
tree | 15f9b47f8f8e32e460e18289b1a9ce563cb23c67 /include/kernel.mk | |
parent | b5af64c5294f4bc08fef0e3951ca8d8f5f1ac5d6 (diff) | |
download | mtk-20170518-3bcb16b305726048905f6cc3ab377c5977008a4d.zip mtk-20170518-3bcb16b305726048905f6cc3ab377c5977008a4d.tar.gz mtk-20170518-3bcb16b305726048905f6cc3ab377c5977008a4d.tar.bz2 |
package/blockmount: simplify extroot module loading logic
SVN-Revision: 28650
Diffstat (limited to 'include/kernel.mk')
-rw-r--r-- | include/kernel.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk index 9e94dce..0df0337 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; \ |