I am using caster's overlay featuring the gentoo-kernel package. It uses its own version of the genkernel ebuild in order to overcome a limitation of the official package. The patch needed to use genkernel in an ebuild is rather straightforward and just splits `--firmware-dir` into `--firmware-src` and `--firmware-dst`, keeping `--firmware-dir` for compatibility. The following version of the patch is being used with gentoo-kernel-overlay: https://github.com/tehcaster/gentoo-kernel-overlay/blob/master/sys-kernel/genkernel/files/0001-firmware-improvements.patch It looks like it originally comes from funtoo: https://github.com/funtoo/genkernel/commit/1d946d903c93cd022611eff180c52e2df5855a14 I'm willing to help with this.
I'll merge it, but also note in 3.5.0.6 we no longer install firmware by default, and strongly suggest using the linux-firmware package instead.
Sabayon has just merged the change to genkernel-next. https://github.com/Sabayon/genkernel-next/pull/41
mudler: gk-next, can you consider using the linux-firmware package instead of having genkernel install firmware? the only case that needs special care then is building for another system.
ported same logic used in genkernel: https://github.com/Sabayon/genkernel-next/commit/8e251b1358b9bb6168c2b0b12f85e3bb7ae02ceb Thanks
pavlix: Are there any remaining cases where you specifically still need firmware-dst (and can't use the firmware package)?
No response, presuming package is fine.