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

Message ID 20180702191605.19630-2-marcelo.cerri@canonical.com
State New
Headers show
Series
  • zram module is missing in linux-azure
Related show

Commit Message

Marcelo Henrique Cerri July 2, 2018, 7:16 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(+)

Comments

Kleber Souza July 4, 2018, 10:08 a.m. | #1
On 07/02/18 21:16, Marcelo Henrique Cerri wrote:
> 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(+)
> 
> 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
> 

Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>

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