pmaports/main/postmarketos-initramfs
Pablo Correa Gómez 38ce112cdf
main/postmarketos-initramfs: load modules also from /lib/modules/initramfs.load (MR 4193)
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.
2023-07-10 11:07:51 -07:00
..
00-default.modules postmarketos-mkinitfs: upgrade to 2.0 (MR 3895) 2023-03-08 21:35:04 -08:00
00-initramfs-base.dirs main/postmarketos-initramfs: new aport (MR 3895) 2023-03-08 21:34:37 -08:00
00-initramfs-base.files main/postmarketos-initramfs: remove telnetd from initramfs (MR 4237) 2023-07-08 19:06:29 +02:00
00-initramfs-extra-base.files main/postmarketos-initramfs: new aport (MR 3895) 2023-03-08 21:34:37 -08:00
APKBUILD main/postmarketos-initramfs: load modules also from /lib/modules/initramfs.load (MR 4193) 2023-07-10 11:07:51 -07:00
init.sh main/postmarketos-initramfs: load modules also from /lib/modules/initramfs.load (MR 4193) 2023-07-10 11:07:51 -07:00
init_functions.sh main/postmarketos-initramfs: load modules also from /lib/modules/initramfs.load (MR 4193) 2023-07-10 11:07:51 -07:00