Fix: debian kernel version parsing
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 9 Jan 2018 20:43:19 +0000 (15:43 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 9 Jan 2018 21:28:02 +0000 (16:28 -0500)
commit671137d5cda4a7415b34246bd8842650a7c6ddd9
tree22e506d701a2acac83661ec69c91431994bba5ce
parent9804b6ef16ac00fa5936fe4fce4350ca5bbb88c8
Fix: debian kernel version parsing

The debian version script only worked for ckt kernels and that was fine
until now because we only had checks for those versions in the code.

ckt (Canonical Kernel Team) kernels were used for a while during the jessie
cycle, their versionning is a bit different. They track the upstream vanilla
stable updates but they don't update the minor version number and instead add
an additionnal -cktX. They were all 3.16.7-cktX and after a while the version
switched back to upstream style at 3.16.36.

Knowing that, we can compare regular debian and ckt kernel versions
using this scheme :

  MAJOR.PATCHLEVEL.SUBLEVEL.CKT.DEBABI.DEBPATCH

And setting CKT to zero for non-ckt kernels.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
abi-debian-version.sh
This page took 0.026957 seconds and 4 git commands to generate.