Load modules from /etc/modules
Intended to be merged after #130.
Auto-load modules listed in the /etc/modules file. This makes it
possible for systems to specify (and users to override) the load of
kernel modules that may not be detectable via uevent messages.
Previously these modules were compiled into the kernel, but this does
not support cases where they could be optional. For example, it would
be nice to have a few USB gadget driver options without hardcoding them
into the kernel. This lets systems be made where the default case loads
a Ethernet/serial gadget driver (for example), but that can be disabled
by overriding /etc/modules with a different set of drivers.
I presume this would enable this to work dynamically: https://github.com/nerves-project/nerves_system_rpi0/pull/62
FYI - there's some out-of-band discussion on how this is handled. E.g., by file in /etc/modules or by Application config or some other mechanism. That's why this hasn't been merged yet.
I'm curious if there's any update / recap on the discussion/trade-offs because I lost track of it and assumed it was already decided/merged.
It hasn't been resolved. Justin got busy and I haven't prototyped an Application config version so that we can properly compare options.