** Also affects: linux-restricted-modules (Ubuntu Mantic)
   Importance: Undecided
       Status: New

** Also affects: linux-restricted-modules-hwe-5.15 (Ubuntu Mantic)
   Importance: Undecided
       Status: Invalid

** Also affects: linux-restricted-modules (Ubuntu Lunar)
   Importance: Undecided
       Status: New

** Also affects: linux-restricted-modules-hwe-5.15 (Ubuntu Lunar)
   Importance: Undecided
       Status: New

** Changed in: linux-restricted-modules-hwe-5.15 (Ubuntu Lunar)
       Status: New => Invalid

** Also affects: linux-restricted-modules-hwe-5.19 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: linux-restricted-modules (Ubuntu Lunar)
       Status: New => Invalid

** Changed in: linux-restricted-modules-hwe-5.19 (Ubuntu Focal)
       Status: New => Invalid

** Also affects: linux-restricted-modules (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: linux-restricted-modules-hwe-5.15 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: linux-restricted-modules-hwe-5.19 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: linux-restricted-modules (Ubuntu Jammy)
       Status: New => Invalid

** Changed in: linux-restricted-modules-hwe-5.15 (Ubuntu Jammy)
       Status: New => Invalid

** Changed in: linux-restricted-modules-hwe-5.19 (Ubuntu Lunar)
       Status: New => Invalid

** Changed in: linux-restricted-modules-hwe-5.19 (Ubuntu Mantic)
       Status: New => Invalid

** Changed in: linux-restricted-modules-hwe-5.19 (Ubuntu Jammy)
       Status: New => In Progress

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

Title:
  Add lrm autogenerated transitional independent of variants

Status in linux-restricted-modules package in Ubuntu:
  New
Status in linux-restricted-modules-hwe-5.15 package in Ubuntu:
  Invalid
Status in linux-restricted-modules-hwe-5.19 package in Ubuntu:
  Invalid
Status in linux-restricted-modules source package in Focal:
  Invalid
Status in linux-restricted-modules-hwe-5.15 source package in Focal:
  Fix Released
Status in linux-restricted-modules-hwe-5.19 source package in Focal:
  Invalid
Status in linux-restricted-modules source package in Jammy:
  Invalid
Status in linux-restricted-modules-hwe-5.15 source package in Jammy:
  Invalid
Status in linux-restricted-modules-hwe-5.19 source package in Jammy:
  In Progress
Status in linux-restricted-modules source package in Lunar:
  Invalid
Status in linux-restricted-modules-hwe-5.15 source package in Lunar:
  Invalid
Status in linux-restricted-modules-hwe-5.19 source package in Lunar:
  Invalid
Status in linux-restricted-modules source package in Mantic:
  New
Status in linux-restricted-modules-hwe-5.15 source package in Mantic:
  Invalid
Status in linux-restricted-modules-hwe-5.19 source package in Mantic:
  Invalid

Bug description:
  [Impact]

  The kernel lrm packages have a mechanism to auto-generate transitional
  packages by adding a line to 'debian/package.config' in the following
  format

  transitional <from> <to> <archs>

  Example:

  transitional 450-oem-20.04 450-generic amd64

  When being processed by 'debian/scripts/gen-rules.lrm' the
  autogenerated contents are added to 'debian/control.d/transitionals-
  local'. However, this file is not included in the final
  'debian/control' for packages which does not contain the default
  variant '--' (see debian/rules.in). This is intentional to prevent
  unwanted transitionals.

  However, there are some cases where we want to transition packages to
  kernels which are not the default variant in a series (e.g. hwe
  kernels).

  [Fix]

  The proposed fix is to add a new command "migrate", which does exactly
  what "transitional" does but adding the content to
  'debian/control.d/migrate-local' which would get added to the final
  'debian/control' independently of the source's variants.

  [Test Case]

  Add "migrate" entries to 'debian/package.config' and check whether
  they get added to 'debian/control' even for non default variant
  packages.

  [Where problems could occur]

  If not used correctly, unwanted transitionals could be generated
  causing issues to the archive. However, this is a new command and
  should not impact any of the previously set transitionals and it needs
  to be explicitly used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/1991130/+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