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

Message ID 20180702190302.18180-2-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 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 package available.

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

Patch

diff --git a/debian/control.d/azure b/debian/control.d/azure
index 5aa6f5ef3339..b65223ddab73 100644
--- a/debian/control.d/azure
+++ b/debian/control.d/azure
@@ -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
+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
 Architecture: amd64
 Section: metapackages