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

Message ID 20180702192029.20131-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:20 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(+)

Comments

Stefan Bader July 3, 2018, 5:29 p.m. | #1
On 02.07.2018 21:20, Marcelo Henrique Cerri wrote:
> 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>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
> ---

With the new bug link replacing the one above.

>  debian/control.d/azure-edge | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> 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
>
Kleber Sacilotto de Souza July 4, 2018, 10:09 a.m. | #2
On 07/02/18 21:20, Marcelo Henrique Cerri wrote:
> 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(+)
> 
> 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
> 

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

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