First of all, debug-package-should-be-named-dbg does not exist any more,
but debug-suffix-not-dbg does, change it.
Lintian complains:
W: xen-hypervisor-4.14-amd64: debug-suffix-not-dbg usr/lib/debug/xen-4.14.0.efi.map.gz
N:
N: This package provides at least one file in /usr/lib/debug, which is
N: intended for detached debugging symbols, but the package name does not
N: end in "-dbg". Detached debugging symbols should be put into a separate
N: package, Priority: extra, with a package name ending in "-dbg".
N:
N: Refer to Debian Developer's Reference section 6.7.9 (Best practices for
N: debug packages) for details.
N:
N: Severity: warning
N:
N: Check: files/debug
...and also complains:
W: xen-hypervisor-4.14-amd64: mismatched-override debug-suffix-not-dbg usr/lib/debug/xen-*-pre.efi.map.gz
N:
N: The named tag could have been silenced but the context specified with
N: the override did not match.
N:
N: Lintian may now provide a different context for the tag, or something
N: could have changed in a new version of your package. Either way,
N: overrides work best when you require only little context.
N:
N: You can use wildcards, such as * or ? in the context to makes
N: a match more likely.
N:
N: Please remove or adjust the override, whichever suits your purpose.
N:
N: Severity: warning
N:
N: Check: lintian
So, secondly, fix this by dropping the -pre part which prevents it from
matching.
Signed-off-by: Hans van Kranenburg <hans@knorrie.org>
-debug-package-should-be-named-dbg usr/lib/debug/xen-*-pre.efi.map.gz
+debug-suffix-not-dbg usr/lib/debug/xen-*.efi.map.gz
# ^ as is traditional for kernels too, we ship the debug information
# in the hypervisor package rather than creating yet another
# package just for this file, which is only 50K or so anyway.