[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



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.

Adding debian-live@ for information.

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:

    kibi@tokyo:~/debian-cd/debian-cd.git (master =)$ git log -G Contents-firmware
    commit 7eea34f26fd61035e443d67bff8f08e5e66196df
    Author: Cyril Brulebois <kibi@debian.org>
    Date:   Sun Feb 19 03:42:36 2023 +0100
    
        make-firmware-image: fix missing Contents-firmware index (Closes: #1031598)
    
    commit d7796845f47493a327d74cb6a211e5cadadb7fb0
    Author: Cyril Brulebois <kibi@debian.org>
    Date:   Wed Feb 8 12:22:51 2023 +0100
    
        Document recent changes.
    
    commit 32291d88a3987cb9b05b65a1fc5747e69049a882
    Author: Steve McIntyre <steve@einval.com>
    Date:   Sun Oct 9 01:43:12 2022 +0100
    
        Add a Contents-firmware file
        
        to help with looking up firmware packages in d-i


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: