Package: dkms Version: 2.3-3ubuntu3 Tags: patch Followup-For: Bug #832558 I'm attaching a patch that fixes /etc/dkms/template-dkms-mkdeb/debian/control so that the generated .deb has the arch suffix instead of 'all'.
-- System Information: Debian Release: stretch/sid APT prefers artful-updates APT policy: (500, 'artful-updates'), (500, 'artful-security'), (500, 'artful') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.13.0-16-generic (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dkms depends on: ii build-essential 12.4ubuntu1 ii coreutils 8.26-3ubuntu4 ii dpkg-dev 1.18.24ubuntu1 ii gcc 4:7.2.0-1ubuntu1 ii kmod 24-1ubuntu2 ii make 4.1-9.1 ii patch 2.7.5-1build1 Versions of packages dkms recommends: ii fakeroot 1.21-1ubuntu2 ii linux-headers-4.13.0-16-generic [linux-headers] 4.13.0-16.19 ii linux-headers-generic 4.13.0.16.17 ii lsb-release 9.20160110ubuntu5 ii sudo 1.8.20p2-1ubuntu1 Versions of packages dkms suggests: pn menu <none> ii python3-apport 2.20.7-0ubuntu3.1 -- no debconf information
--- a/etc/dkms/template-dkms-mkdeb/debian/control 2017-10-31 14:40:41.690069116 -0300 +++ b/etc/dkms/template-dkms-mkdeb/debian/control 2017-10-31 14:41:12.137973994 -0300 @@ -6,6 +6,6 @@ Standards-Version: 3.8.1 Package: DEBIAN_PACKAGE-dkms -Architecture: all +Architecture: DEBIAN_BUILD_ARCH Depends: dkms (>= 1.95), ${misc:Depends} Description: DEBIAN_PACKAGE driver in DKMS format.