Remove unneeded firmware from initramfs
Once we determine which modules we need, parse the actual .ko files for 'firmware=.*' strings. These provide the path(s) to that module's firmware, relative to /lib/firmware. Remove all firmware from the output directory then copy in only the files we need.
Showing with 58 additions and 24 deletions