ilbers / isar

Integration System for Automated Root filesystem generation
Other
183 stars 73 forks source link

linux-modules/modules.inc doesn't expand AUTOLOAD correctly #81

Closed torstenchr closed 2 years ago

torstenchr commented 2 years ago

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

jan-kiszka commented 2 years ago

Thanks for the fix. Could you send it to the mailing list for review? git-send-email, i.e. inlined and signed-off. TIA!

amikan commented 2 years ago

The fix was already applied to master, so closing the issue