starting with kernel v3.18.x, kernel modules can be compressed with .gz and .xz. However, genkernel can't find modules having these names. Reproducible: Always Steps to Reproduce: 1. configure a kernel with CONFIG_MODULE_COMPRESS_XZ (or CONFIG_MODULE_COMPRESS_GZ) 2. build a kernel and initramfs with genkernel 3. ...observe that kernel modules have not been pulled into the initramfs Actual Results: no kernel modules are included in the initramfs Expected Results: important kernel modules (or all kernel modules...if so configured) should have been included
Created attachment 397952 [details, diff] kext.patch patch against =sys-kernel/genkernel-3.4.49.2. It can also be applied cleanly to =sys-kernel/genkernel-3.4.51.2, and git master. Additionally, it can be applied to genkernel-next with some minor modifications.
support has been added in 3.4.52.x for this
Hello, it looks like there was a regression here in sys-kernel/genkernel-4.2.3. I have XZ compression enabled for modules but they are not getting included in the initramfs. Would you like me to open a new issue?
(In reply to Aaron D Borden from comment #3) > Hello, it looks like there was a regression here in > sys-kernel/genkernel-4.2.3. I have XZ compression enabled for modules but > they are not getting included in the initramfs. Would you like me to open a > new issue? Yes please.