38ce112cdf
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. |
||
---|---|---|
.. | ||
00-default.modules | ||
00-initramfs-base.dirs | ||
00-initramfs-base.files | ||
00-initramfs-extra-base.files | ||
APKBUILD | ||
init.sh | ||
init_functions.sh |