[bionic/azure,2/2] UBUNTU: Add the linux-modules-extra-azure-edge meta package

Message ID 20180702190302.18180-3-marcelo.cerri@canonical.com
State New
Headers show
Series
  • [bionic/azure,1/2] UBUNTU: Add the linux-modules-extra-azure meta package
Related show

Commit Message

Marcelo Henrique Cerri July 2, 2018, 7:03 p.m.
BugLink: http://bugs.launchpad.net/bugs/1762756

linux-image-azure-edge does not install extra modules by default. Because
of that, there's no simple way for users and for tge testing
infrastructure to install them.

Add a meta package to always follow the latest
linux-modules-extra-<version>-azure(-edge)? package available.

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
---
 debian/control.d/azure-edge | 9 +++++++++
 1 file changed, 9 insertions(+)

Patch

diff --git a/debian/control.d/azure-edge b/debian/control.d/azure-edge
index 225d05f9ebda..72e6412356b9 100644
--- a/debian/control.d/azure-edge
+++ b/debian/control.d/azure-edge
@@ -16,6 +16,15 @@  Description: Linux kernel image for Azure systems.
  This package will always depend on the latest kernel image available
  for Azure systems.
 
+Package: linux-modules-extra-azure-edge
+Architecture: amd64
+Section: metapackages
+Priority: optional
+Depends: ${misc:Depends}, linux-modules-extra-${kernel-abi-version}-azure
+Description: Linux kernel extra modules for Azure systems.
+ This package will always depend on the latest extra modules package
+ available for Azure systems.
+
 Package: linux-azure-edge
 Architecture: amd64
 Section: metapackages