sys-kernel/coreos-firmware: include amd microcode

coreos-firmware currently ignores everything not needed by a module.
Update it to not ignore files in the amd-ucode directory.
This commit is contained in:
Andrew Jeddeloh 2018-01-16 16:17:53 -08:00
parent 25fd8ea28a
commit 6670c6e256

View File

@ -104,6 +104,10 @@ src_prepare() {
die "Missing firmware"
fi
# AMD's microcode is shipped as part of coreos-firmware, but not a dependency to
# any module, so add it manually
use amd64 && find amd-ucode/ -type f -not -name "*.asc" >> "${T}/firmware-scan"
einfo "Pruning all unneeded firmware files..."
sort -u "${T}/firmware-scan" > "${T}/firmware"
find * -not -type d \