[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



Hi Andrew and Alexander,

Andrew Kornilov <akornilov@gmail.com> (2025-09-30):
> Update on this bug:
> 
> 1. With debian-installer 20250803+deb13u1 and hw-detect 1.171, the firmware
> for the laptop’s network card won’t install. The installer freezes at
> “Detect network hardware.”
> In /var/log/syslog the last line is: hw-detect exited nonzero.
> 
> 2. After applying this patch, everything works: the install finishes and
> the firmware gets installed.

Yes, that's a very good find, thanks.

Sorry you had to go through this, this never-ending transition is a huge
mess… we should probably fix not only unstable (and testing after a few
days) but also backport to stable, just in case some packages end up
getting updated with the new paths there (e.g. via security).

It might also make sense to check whether we need to do something
similar in debian-cd. From a quick look there:

    kibi@tokyo:~/debian-cd/debian-cd.git (master =)$ git grep -l lib/firmware
    debian/changelog
    tools/boot/bookworm/common.sh
    tools/boot/forky/common.sh
    tools/boot/trixie/common.sh
    tools/generate_firmware_task

Survey:
 - all three common.sh iterate over both lib/firmware and
   usr/lib/firmware, we're good already.
 - the last two (trixie and forky) additionally write a metadata file
   under the usr/lib/firmware, that's in line with the new location.
 - the last one also iterates on both locations.

TL;DR: Hopefully no changes needed on the debian-cd side. Sorry for the
digression, but firmware support really needs some cooperation between
debian-installer and debian-cd, so I thought I'd double check…


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: