This bug was fixed in the package linux-restricted-modules-hwe-5.15 -
5.15.0-70.77~20.04.1+1

---------------
linux-restricted-modules-hwe-5.15 (5.15.0-70.77~20.04.1+1) focal; urgency=medium

  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (adhoc/2023.03.20)
    - update spin to 2023.03.20-4

linux-restricted-modules-hwe-5.15 (5.15.0-70.77~20.04.1) focal;
urgency=medium

  * Master version: 5.15.0-70.77~20.04.1

  * Migrate oem-20.04 to hwe-5.15 (LP: #1987507)
    - [Packaging] Migrate oem-20.04 to hwe-5.15

  * Add lrm autogenerated transitional independent of variants (LP: #1991130)
    - [Packaging] add a new migrate autogenerate option

  * Miscellaneous Ubuntu changes
    - debian/tracking-bug -- update from master

 -- Andy Whitcroft <[email protected]>  Thu, 13 Apr 2023 10:29:37 +0100

** Changed in: linux-restricted-modules-hwe-5.15 (Ubuntu Focal)
       Status: In Progress => Fix Released

-- 
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 source package in Focal:
  Invalid
Status in linux-restricted-modules-hwe-5.15 source package in Focal:
  Fix Released

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     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to