Pascal Hambourg <pascal@plouf.fr.eu.org> (2023-04-17):
Ugly attached patch works for me as PoC.
Copy fd 0 into fd 9 (because it looked unused) before entering the
pipeline, and restore it when running install_firmware_pkg.
I think I'd be happy to take this patch for bookworm, as a workaround…
Here is another patch for hw-detect moving the install_firmware_pkg()
call outside the pipeline instead of playing with file descriptors.
… before considering a real/better fix after bookworm.
PS: shouldn't this bug report be reassigned to hw-detect ?
Where the bug comes from seems pretty clear by now, so feel free to
reassign, and maybe clone it so that we can track the workaround
(bookworm) and the fix (post-bookworm).