I think editing the systemwide template should be discouraged. Is it perhaps an 
issue of
the linux-image-unsigned-XXX package? Shouldn't it simply Provide 
linux-image-XXX?

I am also not sure why some arch specific builds (e.g., amd64, arm64) have an 
-unsigned binary
package and other don't (e.g., i386).

Copying from 
https://kernel-team.pages.debian.net/kernel-handbook/ch-packaging.html#s-arch-dep:
```
linux-image-version-abiname[-featureset]-flavour-unsigned

This package contains the binary kernel image and pre-built binary modules for 
a particular arch/featureset/flavour combination, that are meant to be signed 
and copied into a package without the -unsigned suffix. There is normally no 
need to install these packages.
```
Does the above hold for 
linux-image-unsigned-5.2.0-050200rc6-generic_5.2.0-050200rc6.201906222033_amd64.deb?

I tend to believe that his is more an issue with the kernel mainline
build rather than with DKMS.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.
https://bugs.launchpad.net/bugs/1835429

Title:
  Package generated with mkbmdeb fails to be installed when using kernel
  mainline build

Status in dkms package in Ubuntu:
  New

Bug description:
  Using latest kernel mainline build, e.g. [1], the binary package generated 
with `dkms mkbmdeb` 
  fails to be installed since it depends on linux-image-XXX but only 
linux-image-unsigned-XXX is available (which by the way conflicts with 
linux-image-XXX).

  It seems that the `/etc/dkms/template-dkms-mkbmdeb/debian/control`
  adds this explicit dependency.

  Would it make sense to extend Depends with a linux-image-
  KERNEL_VERSION | linux-image-unsigned-KERNEL_VERSION or should the end
  user patch the systemwide template before running dkms?

  [1] https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2-rc6/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1835429/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to