Sabayon / genkernel-next

An improved and modern remake of Gentoo genkernel (in: udev, plymouth; out: cross compiler support)
47 stars 45 forks source link

firmware files not found by kernel due to incorrect folder placement #39

Open dagnarf opened 8 years ago

dagnarf commented 8 years ago

Hi, attached is a patch to address an issue I ran into copying explicit firmware files into initramfs with FIRMWARE_FILES = "{file1},{file2},{file3}" in genkernel.conf,

The kernel is looking for some firmware files in subfolders of the /lib/firmware dir, this patch copies the firmware files into their subfolders if needed so the kernel finds them properly on load.

genkernel-firmware-files.zip