I'm using current with timestamp Wed Mar 29 20:56:21 UTC 2023
The problem with mkinitrd was if there are multiple firmware binaries from one module, say qla2xxx, then mkinitrd will throw error on copying with preserving permission of initrd-tree/lib/firmware directory (deleted nullified stderr):
Code:
cp: preserving permissions for ‘/boot/initrd-tree/lib/firmware’: No such file or directory
WARNING: Could not find firmware "/lib/firmware/ql2500_fw.bin"
OK: /lib/firmware/ql2400_fw.bin added.
OK: /lib/firmware/ql2322_fw.bin added.
OK: /lib/firmware/ql2300_fw.bin added.
OK: /lib/firmware/ql2200_fw.bin added.
OK: /lib/firmware/ql2100_fw.bin added.
The firmware files itself were copied correctly, all of them.
Adding mkdir initrd-tree/lib/firmware before copying fix the issue.