• Ryan Jackson's avatar
    Remove unneeded firmware from initramfs · 3e5c1f25
    Ryan Jackson authored
    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.
remove_unneeded_modules.pl 5.26 KB