e067e96da2
Due to GKI, the kernel UTS release string will not always (if ever)
match the vendor's UTS release string that is used to create the
initramfs file structure -- /lib/modules/<vendor uname>. This causes
module load failures when `-d DIR` is omitted. To fix this, we can
include all of the versions under /lib/modules that match the kernel's
major and minor version instead of directly using the value of uname().
In addition, we can also support modules being loaded directly from
/lib/modules.
Test: verify GKI kernel + initramfs with different UTS strings
Test: verify GKI kernel + initramfs with modules directly in /lib/modules
Fixes:
|
||
---|---|---|
.. | ||
Android.bp | ||
generate-input.h-labels.py | ||
getevent.c | ||
getprop.cpp | ||
modprobe.cpp | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE | ||
OWNERS | ||
setprop.cpp | ||
start.cpp | ||
toolbox.c | ||
tools.h |