diff -Nru dkms-3.0.11/debian/changelog dkms-3.0.11/debian/changelog --- dkms-3.0.11/debian/changelog 2023-09-12 18:40:25.000000000 +0000 +++ dkms-3.0.11/debian/changelog 2023-09-28 13:47:38.000000000 +0000 @@ -1,3 +1,10 @@ +dkms (3.0.11-1ubuntu11) mantic; urgency=medium + + * debian/scripts/dkms-autopkgtest: + - Avoid catching packages with -no-dkms in their name (LP: #2037650). + + -- Alberto Milone Thu, 28 Sep 2023 13:47:38 +0000 + dkms (3.0.11-1ubuntu10) mantic; urgency=medium * In autopkgtests expect zst compression for dkms modules for v6.5 diff -Nru dkms-3.0.11/debian/scripts/dkms-autopkgtest dkms-3.0.11/debian/scripts/dkms-autopkgtest --- dkms-3.0.11/debian/scripts/dkms-autopkgtest 2023-04-27 16:12:51.000000000 +0000 +++ dkms-3.0.11/debian/scripts/dkms-autopkgtest 2023-09-28 13:47:30.000000000 +0000 @@ -205,7 +205,7 @@ pkg_list="$*" if [ -z "$pkg_list" ]; then test -x /usr/bin/grep-dctrl || apt-get install --no-install-recommends -yq dctrl-tools &1 - pkg_list="$(grep-dctrl -FDepends -e '(^| )dkms' -o -FPackage -e '\-dkms' debian/control -sPackage -n)" + pkg_list="$(grep-dctrl -FDepends -e '(^| )dkms' -o -FPackage -e '\-dkms' -a ! -e '\-no\-dkms' debian/control -sPackage -n)" fi for pkg in $pkg_list; do