diff mbox series

[Unstable,1/2] UBUNTU: [Packaging]: linux-modules should depend on linux-image

Message ID 20201127132957.2496795-2-cascardo@canonical.com
State New
Headers show
Series Packaging dependencies | expand

Commit Message

Thadeu Lima de Souza Cascardo Nov. 27, 2020, 1:29 p.m. UTC
When installing linux-modules package directly, it will not bring a linux-image
package as a dependency. linux-modules-extra, on the other hand, depend on a
linux-image package.

Make the linux-modules package depend on either the linux-image or the
linux-image-unsigned package.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
 debian.master/control.d/flavour-control.stub | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/debian.master/control.d/flavour-control.stub b/debian.master/control.d/flavour-control.stub
index 395cb16d0de2..0ca785aee4e4 100644
--- a/debian.master/control.d/flavour-control.stub
+++ b/debian.master/control.d/flavour-control.stub
@@ -49,7 +49,7 @@  Build-Profiles: <!stage1>
 Architecture: ARCH
 Section: kernel
 Priority: optional
-Depends: ${misc:Depends}, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}, linux-image-PKGVER-ABINUM-FLAVOUR | linux-image-unsigned-PKGVER-ABINUM-FLAVOUR
 Built-Using: ${linux:BuiltUsing}
 Description: Linux kernel extra modules for version PKGVER on DESC
  Contains the corresponding System.map file, the modules built by the