mbox series

[Unstable,0/2] Packaging dependencies

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

Message

Thadeu Lima de Souza Cascardo Nov. 27, 2020, 1:29 p.m. UTC
Whenever I want to install different kernel versions for testing, I want to
just ask for either the image or the modules package and get both installed
just fine.

The linux-modules package, however, does not depend on either linux-image
packages (while linux-modules-extra does, which is an inconsistency too).

When doing it on real hardware where linux-modules-extra is desirable, if I am
using aptitude, I could just browse for the linux-modules-extra package if it
was on the list of Suggests for the linux-image package. But it's not.

In both cases, these two relationships are in line with policy, and should be
the default. Start applying them to Unstable and seeing what breaks.

Thadeu Lima de Souza Cascardo (2):
  UBUNTU: [Packaging]: linux-modules should depend on linux-image
  UBUNTU: [Packaging]: linux-image should suggest linux-modules-extra

 debian.master/control.d/flavour-control.stub | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Andrea Righi Nov. 30, 2020, 6:48 a.m. UTC | #1
On Fri, Nov 27, 2020 at 10:29:55AM -0300, Thadeu Lima de Souza Cascardo wrote:
> Whenever I want to install different kernel versions for testing, I want to
> just ask for either the image or the modules package and get both installed
> just fine.
> 
> The linux-modules package, however, does not depend on either linux-image
> packages (while linux-modules-extra does, which is an inconsistency too).
> 
> When doing it on real hardware where linux-modules-extra is desirable, if I am
> using aptitude, I could just browse for the linux-modules-extra package if it
> was on the list of Suggests for the linux-image package. But it's not.
> 
> In both cases, these two relationships are in line with policy, and should be
> the default. Start applying them to Unstable and seeing what breaks.
> 
> Thadeu Lima de Souza Cascardo (2):
>   UBUNTU: [Packaging]: linux-modules should depend on linux-image
>   UBUNTU: [Packaging]: linux-image should suggest linux-modules-extra
> 
>  debian.master/control.d/flavour-control.stub | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Makes sense to me. Thanks!

Acked-by: Andrea Righi <andrea.righi@canonical.com>