sys-kernel/coreos-firmware: fix symlink to Intel ICE firmware

Now that Kernel config `CONFIG_ICE` is enabled, its corresponding
firmware file needs to be also in place. However, upstream
linux-firmware tarball does not contain a correct symlink to
`intel/ice/ddp/ice-1.3.26.0.pkg`, but `modinfo ice.ko` shows it
requires `ice.pkg`. So we need to create the symlink to avoid failures
at the firmware scanning stage like below:

```
Missing firmware: intel/ice/ddp/ice.pkg (ice.ko.xz)
```
This commit is contained in:
Dongsu Park 2021-08-31 18:15:05 +02:00
parent e210655a05
commit ebf22560ee
2 changed files with 7 additions and 0 deletions

View File

@ -81,6 +81,13 @@ src_unpack() {
ln -sfn t5fw-${CXGB_VERSION}.bin linux-firmware-${PV}/cxgb4/t5fw.bin
ln -sfn t6fw-${CXGB_VERSION}.bin linux-firmware-${PV}/cxgb4/t6fw.bin
# Upstream linux-firmware tarball does not contain
# a correct symlink to intel/ice/ddp/ice-1.3.26.0.pkg,
# but "modinfo ice.ko" shows it requires ice.pkg.
# So we need to create the symlink to avoid failures at the
# firmware scanning stage.
ln -sfn ice-1.3.26.0.pkg linux-firmware-${PV}/intel/ice/ddp/ice.pkg
# The xhci-pci.ko kernel module started requiring a
# renesas_usb_fw.mem firmware file, but this file is
# nowhere to be found in the tarball. So we just fake