openwrtv4/package/base-files/files/lib
Jo-Philipp Wich 2b6facc8d4 include: kernel.mk: simplify module autoloading
Let the generic postinstall script invoke "kmodloader" when the just
installed package contains any /etc/module.d/ entries.

This allows us to skip the explicit "insert_module()" calls in the
package postinstall.

Due to the removed insert_module calls we do not need to assemble a
complete list of modules per package anymore, which allows for vast
simplification of the package generation code.

While we're at it, also support specifying default parameters for
modules using either the MODPARAM or MODPARAM.modulename variables
in KernelPackage.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-11-07 12:02:06 +01:00
..
functions base-files: make ucidef_set_led_rssi offset and factor optional 2017-06-17 15:38:19 +02:00
preinit base-files: drop unused preinit_echo function 2017-08-09 23:23:06 +02:00
upgrade base-files: upgrade: don't loop forever trying to kill processes 2017-07-20 21:41:33 +02:00
functions.sh include: kernel.mk: simplify module autoloading 2017-11-07 12:02:06 +01:00