38ce112cdfe81dedf1bac80d34ec7974cec55a4f
Make it possible to load modules from the file installed by devicepkg-dev, that will be there when extra modules are needed. This is coded in a backwards-compatible way, so that it can be independent of the main modules MR. The code changes create a new function which takes a list of modules and possibly a file (that should contain a list of modules too). The idea is to be able to support also loading modules for initramfs-extra in the future, and having a similar file would be more convenient than extracting all the modules each time. In addition, the "[ -d /lib/modules]" check has been removed. If there's no modules directory, as all modules might be built-in, modprobe will fail, but that will not be fatal. This will most likely only exclusively happen in some android downstream kernel, so it should not be a big concern.
Languages
Shell
95.8%
Python
2.5%
C
1.2%
Batchfile
0.3%
Jinja
0.2%