Update linux-signed/linux-restricted-modules for forward port suffixes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-restricted-modules (Ubuntu) |
Fix Released
|
Medium
|
Seth Forshee | ||
linux-signed (Ubuntu) |
Fix Released
|
Medium
|
Seth Forshee |
Bug Description
Impact: When forward-porting kernels we add a +NN.NN.N suffix to the package version. We also append +N to the version for respins of linux-signed and linux-restricte
Fix: Add end-of-line matching to the regex which strips the +N from the version string, ensuring that this pattern is not stripped from elsewhere in the version.
Test Case: Run 'fakeroot debian/rules clean' in a signed/l-r-m tree for a forward-port kernel and inspect debian/control. Without end-of-line matching the +NN part of +NN.NN.N is stripped from the versions in Build-Depends. With end-of-line matching it is not stripped.
Regression Potential: Any problems will result in incorrect versions placed in the Build-Depends. The most likely result is that this is a package version which does not exist, so the packages fail to build due to missing dependencies. It is very unlikely that an incorrect but valid package version in the Build-Depends, but if this did happen the packages could successfully build against the wrong kernel. This would be noticed quickly in testing as modules from linux-modules will fail to load with the packages produced from the linux-signed build.
Changed in linux-restricted-modules (Ubuntu): | |
assignee: | nobody → Seth Forshee (sforshee) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux-restricted-modules (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in linux-signed (Ubuntu): | |
status: | In Progress → Fix Committed |
This bug was fixed in the package linux-signed - 5.8.0-36.40+21.04.1
--------------- 36.40+21. 04.1) hirsute; urgency=medium
linux-signed (5.8.0-
* Master version: 5.8.0-36.40+21.04.1
-- Kleber Sacilotto de Souza <email address hidden> Thu, 07 Jan 2021 12:01:04 +0100