Public bug reported:

SRU Justification

Impact: Our kernel packaging currently has support for backporting
kernels to older releases. This includes appending ~BACKPORT_SUFFIX to
the version string for the backport kernel, where BACKPORT_SUFFIX is
defined in update.conf. We need to start doing similar forward ported
kernels, but BACKPORT_SUFFIX should be appended using a + rather than a
~. Our kernel packaging cannot easily determine whether a + or a ~ is
appropriate.

Fix: Move the leading character into BACKPORT_SUFFIX, and do not insert
any leading characters from the kernel packaging scripts. Since the
script which generates update.conf has access to information from
kernel-series, it can more easily determine whether + or ~ is the
appropriate leader.

Test Case: Run through the normal steps for updating a backport kernel.
The version string generated should have ~SERIES for a backport to an
older series, and +SERIES for a backport to a newer series.

Regression Potential: Backport kernels could end up with an incorrect
version strings. Since all kernel uploads undergo review, any such
errors should be caught before uploading.

** Affects: linux (Ubuntu)
     Importance: Medium
     Assignee: Seth Forshee (sforshee)
         Status: In Progress

** Affects: linux (Ubuntu Precise)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Trusty)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Groovy)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Hirsute)
     Importance: Medium
     Assignee: Seth Forshee (sforshee)
         Status: In Progress

** Also affects: linux (Ubuntu Hirsute)
   Importance: Medium
     Assignee: Seth Forshee (sforshee)
       Status: In Progress

** Also affects: linux (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Precise)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902957

Title:
  Update kernel packaging to support forward porting kernels

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to