If the AUTOLOAD variable has more than 1 entry the for-loop in do_prepare_build() doesn't expand and therefor result in a one-line entry into the postinst file. This in turn gives the wrong format for the /etc/modules (all module names are on the same line) and therefor fails to load at startup.
If the AUTOLOAD variable has more than 1 entry the for-loop in do_prepare_build() doesn't expand and therefor result in a one-line entry into the postinst file. This in turn gives the wrong format for the /etc/modules (all module names are on the same line) and therefor fails to load at startup.
Fix for the issue has been attached. modules.inc.patch.gz