Lintian Fixes - hw-detect

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/hw-detect lintian-fixes/main

Summary

  • Add missing ${misc:Depends} to Depends for hw-detect, ethdetect, disk-detect, driver-injection-disk-detect, archdetect. (debhelper-but-no-misc-depends)

Diff

diff --git a/debian/control b/debian/control
index 3763459b..0315fb60 100644
--- a/debian/control
+++ b/debian/control
@@ -10,14 +10,14 @@ Vcs-Git: https://salsa.debian.org/installer-team/hw-detect.git
 Package: hw-detect
 Package-Type: udeb
 Architecture: any
-Depends: rootskel (>= 1.30), archdetect, cdebconf-udeb (>= 0.75), di-utils (>= 1.73), pciutils-udeb, udpkg (>= 1.14)
+Depends: rootskel (>= 1.30), archdetect, cdebconf-udeb (>= 0.75), di-utils (>= 1.73), pciutils-udeb, udpkg (>= 1.14), ${misc:Depends}
 Description: Detect hardware and load kernel drivers for it
 
 Package: ethdetect
 Package-Type: udeb
 Architecture: all
 Priority: optional
-Depends: rootskel (>= 1.30), cdebconf-udeb (>= 0.38), hw-detect, di-utils (>= 1.13), pciutils-udeb
+Depends: rootskel (>= 1.30), cdebconf-udeb (>= 0.38), hw-detect, di-utils (>= 1.13), pciutils-udeb, ${misc:Depends}
 Provides: ethernet-card-detection
 XB-Installer-Menu-Item: 1700
 Description: Detect network hardware and load kernel drivers for it
@@ -27,7 +27,8 @@ Package-Type: udeb
 Architecture: any
 Depends: cdebconf-udeb (>= 0.38), hw-detect, di-utils (>= 1.13), pciutils-udeb,
 	 harddrive-detection-dasd [s390x],
-	 harddrive-detection-zfcp [s390x]
+	 harddrive-detection-zfcp [s390x],
+	 ${misc:Depends}
 Priority: optional
 Provides: harddrive-detection
 Enhances: hw-detect
@@ -37,7 +38,7 @@ Description: Detect disk drives
 Package: driver-injection-disk-detect
 Package-Type: udeb
 Architecture: all
-Depends: cdebconf-udeb (>= 0.38), hw-detect, mountmedia
+Depends: cdebconf-udeb (>= 0.38), hw-detect, mountmedia, ${misc:Depends}
 Priority: optional
 Enhances: hw-detect
 XB-Installer-Menu-Item: 1500
@@ -46,5 +47,5 @@ Description: Detect OEM driver injection disks
 Package: archdetect
 Package-Type: udeb
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Hardware architecture detector

Failed fixers:

See the worker log for details.

Run locally

Try this locally (using the lintian-brush package):

debcheckout hw-detect
cd hw-detect
DEB_UPDATE_CHANGELOG=auto lintian-brush

More details

Full run details