Public bug reported:

We install kernels as expressed by linux by installation of packages
from linux-meta based on the flavour names.  It is not entirely trivial
to map the source package name to a flavour, it becomes doubly hard when
we have variants applied and the primary variant is not in this package.
For example when linux-oracle is expressing -lts-18.04 only and linux-
oracle-5.0 is expressing -- we end up installing linux-image-oracle for
both packages and only test the latter one.

Add new Provides to the appropriate meta packages so we can always
directly select an appropriate meta package without knowing its name:

  Package: linux-oracle-lts-18.04
  Provides: kernel-testing--linux-oracle--full--oracle

We should also include a preferred option for ADT as it also is unaware
that the kernel package could actually emit more than one kernel
flavour.

  Package: linux-generic-hwe-18.04-edge
  Provides: kernel-testing--linux-hwe-5.3--full--generic, 
kernel-testing--linux-hwe-5.3--full--preferred

** Affects: linux (Ubuntu)
     Importance: High
     Assignee: Andy Whitcroft (apw)
         Status: Triaged

** Changed in: linux (Ubuntu)
       Status: New => Triaged

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Andy Whitcroft (apw)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1867334

Title:
  Add testing specific provides to allow simple mapping from source to
  installable packages

Status in linux package in Ubuntu:
  Triaged

Bug description:
  We install kernels as expressed by linux by installation of packages
  from linux-meta based on the flavour names.  It is not entirely
  trivial to map the source package name to a flavour, it becomes doubly
  hard when we have variants applied and the primary variant is not in
  this package.  For example when linux-oracle is expressing -lts-18.04
  only and linux-oracle-5.0 is expressing -- we end up installing linux-
  image-oracle for both packages and only test the latter one.

  Add new Provides to the appropriate meta packages so we can always
  directly select an appropriate meta package without knowing its name:

    Package: linux-oracle-lts-18.04
    Provides: kernel-testing--linux-oracle--full--oracle

  We should also include a preferred option for ADT as it also is
  unaware that the kernel package could actually emit more than one
  kernel flavour.

    Package: linux-generic-hwe-18.04-edge
    Provides: kernel-testing--linux-hwe-5.3--full--generic, 
kernel-testing--linux-hwe-5.3--full--preferred

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1867334/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to