** Description changed: [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, + 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.
** Summary changed: - Fix lrm transitional autogenerate + Add lrm autogenerated transitional independent of variants -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-restricted-modules-hwe-5.15 in Ubuntu. https://bugs.launchpad.net/bugs/1991130 Title: Add lrm autogenerated transitional independent of variants Status in linux-restricted-modules-hwe-5.15 package in Ubuntu: Invalid Status in linux-restricted-modules-hwe-5.15 source package in Focal: In Progress 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-hwe-5.15/+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

