Your message dated Thu, 2 Oct 2025 14:07:45 +0200 with message-id <7d27b9f2-0656-4684-a510-1af4ceeeeb38@rclobus.nl> and subject line Re: Bug#1116709: hw-detect: list_deb_firmware() does not find files in trixie packages after /usr merge has caused the Debian Bug report #1116709, regarding hw-detect: list_deb_firmware() does not find files in trixie packages after /usr merge to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1116709: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1116709 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: hw-detect: list_deb_firmware() does not find files in trixie packages after /usr merge
- From: alexander barakin <alex@barak.in>
- Date: Tue, 30 Sep 2025 16:48:26 +0300
- Message-id: <aNvfqj7EfCQLpcxO@WKS-144>
Source: hw-detect Version: 1.159 Severity: normal Tags: d-i patch X-Debbugs-Cc: alex@barak.in after implementation of https://wiki.debian.org/UsrMerge firmware packages in trixie contain /usr/lib/firmware in the paths (instead of /lib/firmware in bookworm). compare: https://packages.debian.org/bookworm-backports/all/firmware-iwlwifi/filelist /lib/firmware/intel/ibt-0040-0041.ddc ... and: https://packages.debian.org/trixie/all/firmware-iwlwifi/filelist /usr/lib/firmware/intel/ibt-0040-0041.ddc ... therefore, the list_deb_firmware() function from check-missing-firmware.sh does not find files in new packages. the simplest solution is to ignore the "/usr" in the file paths (the patch is attached).diff --git a/check-missing-firmware.sh b/check-missing-firmware.sh index 59bf4782..a862158e 100755 --- a/check-missing-firmware.sh +++ b/check-missing-firmware.sh @@ -263,8 +263,8 @@ ask_load_firmware () { list_deb_firmware () { udpkg -c "$1" \ - | grep '^\./lib/firmware/' \ - | sed -e 's!^\./lib/firmware/!!' \ + | grep '^\.\(/usr\)\?/lib/firmware/' \ + | sed -e 's!^\.\(/usr\)\?/lib/firmware/!!' \ | grep -v '^$' }
--- End Message ---
--- Begin Message ---
- To: Andrew Kornilov <akornilov@gmail.com>, 1116709-done@bugs.debian.org
- Cc: debian-live@lists.debian.org, Cyril Brulebois <kibi@debian.org>
- Subject: Re: Bug#1116709: hw-detect: list_deb_firmware() does not find files in trixie packages after /usr merge
- From: Roland Clobus <rclobus@rclobus.nl>
- Date: Thu, 2 Oct 2025 14:07:45 +0200
- Message-id: <7d27b9f2-0656-4684-a510-1af4ceeeeb38@rclobus.nl>
- In-reply-to: <CADx+OetUGvmGb-4qZMotTezsoQSzbi7+TESOxG3ObNR239n4CA@mail.gmail.com>
- References: <CADx+Oesqg9FWLbVT8uoKdmn4D3b6ZByk89UtcPQ8PVuVWiefDg@mail.gmail.com> <handler.1116709.B1116709.17592417122862217.ackinfo@bugs.debian.org> <CADx+Oet2JOWwCs1562PYPOJGsx8KNoFnVF783tgm_QpsfzzANA@mail.gmail.com> <aNvfqj7EfCQLpcxO@WKS-144> <20250930164354.gdtmxntybbfd7mvm@mraw.org> <33f51c9d-5224-40c1-ac26-7705505dc6b4@rclobus.nl> <aNvfqj7EfCQLpcxO@WKS-144> <CADx+OetUGvmGb-4qZMotTezsoQSzbi7+TESOxG3ObNR239n4CA@mail.gmail.com>
Hello Andrew, On 30/09/2025 23:55, Andrew Kornilov wrote:@Andrew: Which version of live-build are you using? (lb --version)We still use the version 20240810. We upgraded it from the bookworm version and it has been working fine till latest Trixie's changes (we build a custom ISO based on the mostly Bookworm packages + Trixie's kernel + debian-installer + some more not important updates).The live-build package is tested with sid, testing, stable and oldstable, so you should be fine to use bookworm with trixie mixed in.You can even use the git version.I've checked the code and see it contains the "Firmware_List_From_Contents" function but a simpler version.It was fixed in git some time ago. The version from trixie is sufficiently new.We will upgrade it after some tests. Right now we applied the attached patch and it works (but slow, of course).Thank you all, guys. Now i see that we should use the latest live-build version (however, it might not work with bookworm packages, not sure right now).Ok, I'm closing this bug report. If you have issues with the current live-build, please file a bug report against that package.With kind regards, Roland ClobusAttachment: OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---