[T, X, B, C, U] UBUNTU: Packaging: final-checks: remove trailing backport suffix

Thadeu Lima de Souza Cascardo cascardo at canonical.com
Wed Sep 19 12:56:07 UTC 2018


When we are checking for the existence of ABI files, we will use the previous
changelog stanza version as part of the lookup path. On backport kernels where
we just copy the master kernel ABI, that ABI path will not have the same
version as the backport kernel. We didn't catch this before because we didn't
call the insertchanges rule for backports, which would call final-checks, and
also because we changed the changelog to use the version from the master
kernel. As we plan to change those two factors, we will start seeing check
failures that we shouldn't.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at canonical.com>
---
 debian/scripts/misc/final-checks | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/scripts/misc/final-checks b/debian/scripts/misc/final-checks
index 548dea99e6a0..bd204b2bc9e2 100755
--- a/debian/scripts/misc/final-checks
+++ b/debian/scripts/misc/final-checks
@@ -2,6 +2,7 @@
 
 debian="$1"
 abi="$2"
+abi=${abi%~*}
 
 . "$debian/etc/kernelconfig"
 
-- 
2.17.1





More information about the kernel-team mailing list