From 6670c6e2568d76fbae69dc1d18aa0f46a31fded8 Mon Sep 17 00:00:00 2001 From: Andrew Jeddeloh Date: Tue, 16 Jan 2018 16:17:53 -0800 Subject: [PATCH] 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. --- .../coreos-firmware/coreos-firmware-99999999.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-firmware/coreos-firmware-99999999.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-firmware/coreos-firmware-99999999.ebuild index 87241401f2..644854c2a5 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-firmware/coreos-firmware-99999999.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-firmware/coreos-firmware-99999999.ebuild @@ -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 \