[Pkg-dkms-maint] Bug#830670: mkbmdeb lacks support for Provides:

Adel Belhouane bugs.a.b at free.fr
Sun Oct 9 04:19:50 UTC 2016


Package: dkms
Version: 2.2.1.0+git20160527-1
Followup-For: Bug #830670

Hello,

I found an other problem with the current usage of dkms mkbmdeb: I
can't install the same package for more than one kernel because
the package's name doesn't depend on the kernel version.

Since there's also this bug, I'm killing two birds with one stone.

With this small patch:
- the built package is renamed from DEBIAN_PACKAGE-dkms-bin to
  DEBIAN_PACKAGE-modules-KERNEL_VERSION allowing concurrently
  installed versions.
- it provides package DEBIAN_PACKAGE-modules hopefully closing
  this bug.

Here's the diff to the debian patch file (dkms-source.diff), but since
it's all text, I provide a second diff to patch the installed dkms
package if an user wants to try it: patch -d / -p0 < dkms.diff


-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (490, 'stable'), (360, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages dkms depends on:
ii  build-essential    12.2
ii  coreutils          8.25-2
ii  dpkg-dev           1.18.10
ii  gcc                4:6.1.1-1
ii  kmod               22-1.1
ii  make-guile [make]  4.1-9
ii  patch              2.7.5-1

Versions of packages dkms recommends:
ii  fakeroot                                  1.21-1
ii  menu                                      2.1.47
ii  pseudo [fakeroot]                         1.7.5-5
ii  sudo                                      1.8.17p1-2

Versions of packages dkms suggests:
pn  python3-apport  <none>



-------------- next part --------------
A non-text attachment was scrubbed...
Name: dkms-source.diff
Type: text/x-diff
Size: 1607 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20161009/90b5bfae/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dkms.diff
Type: text/x-diff
Size: 1327 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20161009/90b5bfae/attachment-0001.diff>


More information about the Pkg-dkms-maint mailing list