[arch-dev-public] linux-firmware package, some thoughts

Jonas Witschel diabonas at archlinux.org
Tue Sep 28 08:35:42 UTC 2021

On 2021-09-28 08:34, Tobias Powalowski via arch-dev-public wrote:
> From my side unknown, if dracut and booster can handle compressed firmware
> files.

For dracut this is supposed to work [1], though note that I haven't tested this
myself on Arch.

Booster seems to read the name of the firmware file from the kernel module [2],
then use that name to find the file in the firmware directory [3,4]. It seems
as if the appendFirmwareFiles() function might need to get patched to look for
`fwPath + ".xz"` in addition to `fwPath`, though I could be totally wrong here.


[1] https://github.com/dracutdevs/dracut/commit/999cfa84582ab4ce4cc602242cb71d0af0b7d4ac
[2] https://github.com/anatol/booster/blob/d8caf32a34527085f85764f262151bcb2cc073a1/generator/kmod.go#L754
[3] https://github.com/anatol/booster/blob/d8caf32a34527085f85764f262151bcb2cc073a1/generator/kmod.go#L320-L329
[4] https://github.com/anatol/booster/blob/8c3f6fee7604170229ed0dfb1fdba02f5944cc17/generator/generator.go#L218
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20210928/53870fae/attachment.sig>

More information about the arch-dev-public mailing list