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

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



Your message dated Sat, 11 Oct 2025 20:34:53 +0000
with message-id <E1v7gIn-00BlbF-32@fasolo.debian.org>
and subject line Bug#1116709: fixed in hw-detect 1.172
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 ---
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 ---
Source: hw-detect
Source-Version: 1.172
Done: Philip Hands <phil@hands.com>

We believe that the bug you reported is fixed in the latest version of
hw-detect, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1116709@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Philip Hands <phil@hands.com> (supplier of updated hw-detect package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 11 Oct 2025 21:28:39 +0200
Source: hw-detect
Architecture: source
Version: 1.172
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Philip Hands <phil@hands.com>
Closes: 1116709
Changes:
 hw-detect (1.172) unstable; urgency=medium
 .
   * Team upload.
 .
   [ D-I role ]
   * [l10n]  Commit changed/added po files (from l10n-sync run at dillon)
   * [l10n]  Commit changed/added po files (from l10n-sync run at dillon)
   * [l10n]  Commit changed/added po files (from l10n-sync run at dillon)
 .
   [ Philip Hands ]
   * accept '/usr' in firmware paths (closes: #1116709)
Checksums-Sha1:
 9c1dfd8a9ecf46f976eb996747e68d8444a1ab10 2099 hw-detect_1.172.dsc
 10b7162bd72686d2e85672c2a02e1d3befc89f62 197660 hw-detect_1.172.tar.xz
Checksums-Sha256:
 986977d52d8b0bc103689be2f7cf3241ed575cf2540a268c82d774cdc7b4fade 2099 hw-detect_1.172.dsc
 f431f81e8fa9fc4768b5bcc4aca7a73e80521dc80634ab6f58d9414b37042524 197660 hw-detect_1.172.tar.xz
Files:
 f258ac0d7081250d1ead074edb5543ea 2099 debian-installer standard hw-detect_1.172.dsc
 380abc18ad99fd5c0db4f8c0a95a21f0 197660 debian-installer standard hw-detect_1.172.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEE3/FBWs4yJ/zyBwfW0EujoAEl1cAFAmjqs/MPHHBoaWxAaGFu
ZHMuY29tAAoJENBLo6ABJdXA1jcP/j4sr9HZYBBmljzuwfeYaWRTOr1KjchPhLnG
IoWDASN/+QT1G3ktwBqVWlNdEza93T1DLXCzCybnrwJomKvlXEnWpJ6FsuEUQgOk
5I1zDpbwhRuwgzVry5g2HtxcwiGZ3GPtzAYnOWF5XCci927Y78uonsztXH6Ecjf+
m2yqirvt54L3sVAFqxwZIT+teGr6mtQZxZKnkHr3KSnV+ZPtuDlai/DimMBh7W3G
dfWv5W6ETO/fgu83lqip16gNN8vGpuLAj1gS+jCy2cg435FGW8xROWmDwThZOG/V
kqN2JNojQ1MCI3Wo0vuROcmSvBV1I3w208HK4RTDhvfQIilBS2umGAkj58UWDquI
FbsCiSxAnGNzfICN7sNjpIco5D7PmC0ehKb07Td2okjYIDajpoD6lvzzezWLVt4/
pGaXAx5Mn5k+gvWohblSQiRm9DWj4lWeXy7s6o2/NZp21Pl9hQ+MjYq/YwOR0rOv
lxy1SiZ2MfwoCHBvaw++3k4NS+OQQpycNIg//AAX7ESNyKmZvFwFjWVR0DN/xKVc
toT5m6t8fz++P93/5QANeLvJnRcVCH1xjxCtG5VDP7o8I/ZB9epBjvtIGOdQYdY6
3Z2bXw+t4tG0pNdE5DS7RwCuTbga46F9MxapEWKpKaTo8iqWfblMeEXdiTStryT3
NXTXkngK
=t62n
-----END PGP SIGNATURE-----

Attachment: pgpwJz6MAuxEo.pgp
Description: PGP signature


--- End Message ---

Reply to: