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:27:59 +0000 (16:27 -0500)
commit082b54b4dd61df95dadb58a24aa99355cf40a404
tree1ec91d0b42478d1fc3fcb2f5fb7aae0867374f66
parent007272b38e4d08025871a54fbc50a4f3fbbf2a41
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.025432 seconds and 4 git commands to generate.