[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1116709: hw-detect: list_deb_firmware() does not find files in trixie packages after /usr merge



Hello Andrew,

On 30/09/2025 18:43, Cyril Brulebois wrote:
Andrew Kornilov <akornilov@gmail.com> (2025-09-30):
Yes, you are absolutely right: i forgot to mention that we use live-build
to build the ISO and it (or its tools) does not generate the
"/cdrom/firmware/Contents-firmware" file (not sure why), so the
check-missing-firmware.sh iterates over all the files inside the
/cdrom/firmware/ folder.
That's why i was wondering why nobody else reports this issue.

live-build should be able to generate /firmware/Contents-firmware (and the dep11 pattern files). The official Debian images all contain this file, so the fallback is not triggered there. Additionally, live-build looks both in /usr/lib and /lib for the directory firmware in firmware packages.

@Andrew: Which version of live-build are you using? (lb --version)

Adding debian-live@ for information.

Thanks Cyril.

TL;DR: For images generated by live-build, firmware lookup cannot rely
on Contents-firmware files (apparently not generated, I didn't check
myself), which leads to using a fallback that's currently buggy (lack of
support for /usr/lib/firmware in hw-detect's list_deb_firmware).

We're looking into fixing the latter, but you might want to address the
former as well? In which case, some debian-cd.git pointers:

@Cyril: there should be no additional work for live-build

https://sources.debian.org/src/live-build/1%3A20250814/functions/firmwarelists.sh#L53

With kind regards,
Roland Clobus

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: