Skip to content
  • 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.
    3e5c1f25