man page says separator for files is comma whereas during runtime it says it should be a space-separated list (this is the option that works): --firmware-files=<files> Specifies specific firmware files to copy. This overrides --firmware-dir. For multiple files, separate the filenames with a comma this doesn't work: * Running with options: --btrfs --microcode=intel --microcode-initramfs --firmware --firmware-files=i915/icl_dmc_ver1_09.bin,rtl_nic/rtl8153a-2.fw --no-ramdisk-modules initramfs * ERROR: FIRMWARE_FILES should be a space-separated list. this works (the command includes double quotes: --firmware-files="i915/icl_dmc_ver1_09.bin rtl_nic/rtl8153a-2.fw"): * Running with options: --btrfs --microcode=intel --microcode-initramfs --firmware --firmware-files=i915/icl_dmc_ver1_09.bin rtl_nic/rtl8153a-2.fw --no-ramdisk-modules initramfs
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=9722fb1b99011c720459fa5f11e9b78929b060ac commit 9722fb1b99011c720459fa5f11e9b78929b060ac Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-03-15 00:03:43 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-03-15 00:03:43 +0000 Change --firmware-files handling - Move from space-separated list to comma-separated list to add support for firmware files with spaces. - Add support for firmware files with spaces. - Check for specified firmware files in determine_real_args() which will allow us to error out early. - Clarify documentation. Fixes: c576f99b0b ("Misc improvements for FIRMWARE* handling") Bug: https://bugs.gentoo.org/775221 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> doc/genkernel.8.txt | 4 ++-- gen_determineargs.sh | 12 ++++++++---- gen_initramfs.sh | 4 ++-- genkernel.conf | 4 ++-- 4 files changed, 14 insertions(+), 10 deletions(-)
Released with genkernel-4.2.0!