mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 14:31:02 +02:00
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:
parent
25fd8ea28a
commit
6670c6e256
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user