#1140391 hw-detect/firmware-lookup in hw-detect.templates should be 'string' not 'text'

#1140391#5
Date:
2026-06-19 13:46:56 UTC
From:
To:
Dear maintainers,

hw-detect/debian/hw-detect.templates [1] lists hw-detect/firmware-lookup as
Type: text

but it should instead be
Type: string

This means that hw-detect/firmware-lookup is absent from the complete list of
debian preseeds [2] because the script [3] that generates those lists handles
"Type: string" and not "Type: text".

Trivial patch attached.

[1] https://salsa.debian.org/installer-team/hw-detect/-/blob/master/debian/hw-detect.templates?ref_type=heads#L107
[2] https://preseed.debian.net/debian-preseed/
[3] https://git.einval.com/cgi-bin/gitweb.cgi?p=steve-scripts.git;a=blob;f=extract_template.pl;h=e1c66320135d9f721ff23f00e0bb5ca740901796;hb=HEAD#l54

#1140391#10
Date:
2026-06-20 08:48:49 UTC
From:
To:
<https://salsa.debian.org/installer-team/hw-detect/-/merge_requests/20>

The same issue exists with other debconf items, e.g.:

- base-installer/kernel/altmeta in
base-installer/debian/bootstrap-base.templates -> merge request
<https://salsa.debian.org/installer-team/base-installer/-/merge_requests/14>

- iso-scan/filename in iso-scan/debian/iso-scan.templates but AFAICS it
is not intended to be preseeded, so I guess it does not matter.

- netcfg/dhcp_ntp_servers in netcfg/debian/netcfg-dhcp.templates but
AFAICS it not intended to be preseeded either. Note: it is read by
clock-setup but not set by netcfg any more since commit fac74c749 ("Deal
with stateless DHCPv6"). Is this intended ?

#1140391#13
Date:
2026-06-23 20:08:49 UTC
From:
To:
Hello,

Bug #1140391 in hw-detect reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/installer-team/hw-detect/-/commit/42a144b71541c0d23e6c9102d958098ff58d84b2
Current type "text" is skipped in preseed master list.

Closes: #1140391
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1140391

#1140391#20
Date:
2026-07-29 17:34:56 UTC
From:
To:
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 1140391@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (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)
Format: 1.8
Date: Wed, 29 Jul 2026 18:12:51 +0100
Source: hw-detect
Architecture: source
Version: 1.176
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1140391
Changes:
 hw-detect (1.176) unstable; urgency=medium
 .
   [ Holger Wansing ]
   * Fix lintian error (policy violation; 'untranslatable-debconf-templates').
 .
   [ Pascal Hambourg ]
   * Change hw-detect/firmware-lookup type to "string", so that it appears
     in the preseed list at https://preseed.debian.net/debian-preseed/.
     Thanks to cacin@allfreemail.net for the patch!
     Closes: #1140391.
 .
   [ Colin Watson ]
   * ethdetect: Don't misdetect VLAN interfaces as primary physical
     interfaces (related to #433568).
 .
   [ Updated translations ]
   * Northern Sami (se.po) by Børre Gaup
Checksums-Sha1:
 19bac8a369b237ddb3cf7579888ef385ad81ec45 1965 hw-detect_1.176.dsc
 ecd8954386b01adcd82d33ab2fe38792d38246b7 198568 hw-detect_1.176.tar.xz
 ad3c97219ed26c09ef07cb19041599616ad81997 6501 hw-detect_1.176_source.buildinfo
Checksums-Sha256:
 41c74f3856e4c85ca99635014ec07fe2e8df10e1b64ff94023e5b83e38071158 1965 hw-detect_1.176.dsc
 dd84eb2f7ee93524eb9829c463c3f3a1683c1f033ccb834777d8cdf179d80e2b 198568 hw-detect_1.176.tar.xz
 6e5b89e909ceae29160d2d5e3412d420fde9543622e9061487a076c488c6faac 6501 hw-detect_1.176_source.buildinfo
Files:
 bafe15a235e490324ba970e5c14e1205 1965 debian-installer standard hw-detect_1.176.dsc
 4fea97beb4d5bd7bd817172aa52923fa 198568 debian-installer standard hw-detect_1.176.tar.xz
 dfee058fa0697eb199f6e16d6844597e 6501 debian-installer standard hw-detect_1.176_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmpqNVEACgkQOTWH2X2G
UAv/KA//QSTGzsOe/I4Lso1gZ/kcPOC6RfNl5FaXngG6yLv5YW4wDS14m+1kQOZ8
cIgyc9cDeurS6upUVJjMfvSip6xYi1y4YrChMVff8RiK5F26mj2yhPBJKGPXI4mK
KUT1ItvVgyYn90fBm/3OzyQXxEtYe+7mc+7nHu7hUC/GU0Rg5FjndPOjEMD+mfsH
cHH6ax32dHSumeDPMji3CxBeKBfxb/+ifQlnZhCOVa1d3ZFBvqRy2uHzUJF7KtNU
IAmS1iW16cDbaJCGCylkOiHf+LYq9/9JAi60fAlt4I8jIiP/rauGMY8R6wI1Hbgp
wpxTmvjbZNnrAT7PTf740iv06Ql6yEv9JM+AepKvaShNjNcoJHNKiFAouO7cx8ny
efRDiDkg9anVzSEcj7QlEVP7+bNjZa3LG8EmqfLQoHecn0AKuJiOEexFh25fru1f
GmKFCnacyn7sd1lpkl6QcM9DhrdP2LAzYqPvjwJgH1WZ7XnOncrOrYb0plpg1spX
OoK9rQuCMqaCxChPo2PrNdjcyzWe1jwtp6zRaUp0p74QnJ8wODlFRXKji0r4nuQa
9svvbvYlc+PzrNDZZP4F36Gm0IIT9J211DQy6sHIKh56xhkg1AWuvSxLtTKotAJu
XeReyRS+7YaJ1e6gzzII5C+uBCOI8GH0WaN5nH07B1D+cMAeThg=
=3gvv
-----END PGP SIGNATURE-----