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

Kleber Souza kleber.souza at canonical.com
Fri Sep 21 12:39:24 UTC 2018


On 09/19/18 14:56, Thadeu Lima de Souza Cascardo wrote:
> 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"
>  
> 

Applied to {trusty,xenial/bionic}/master-next branch.

Thanks,
Kleber




More information about the kernel-team mailing list