[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1113728: linux: new ABI versioning prevents linux-version and other tools from correctly sorting Debian revisions



Source: linux
Version: 6.16.3-1
Severity: important
Tags: trixie forky
X-Debbugs-Cc: noisycoil@debian.org
Control: affects -1 + grub2-common

Dear Maintainer,

In [1], which was later backported to stable, a '+N' suffix was added to the
ABI of kernel releases with Debian revision N >= 2, e.g.

6.16.3-1 -> 6.16.3+deb14-arm64
6.16.3-2 -> 6.16.3+deb14+1-arm64

linux-version and other tools, most notably update-grub/grub-mkconfig (which
currently internally uses `sort -V` and `sort -n`), sort '+' lower than '-'.
Since version sorting takes kernel flavor into account, all Debian revisions
with N >= 2 sort lower than the first Debian revision. One consequence of this
is grub never picks later Debian revisions as the default kernel.

Cheers!


[1] https://salsa.debian.org/kernel-team/linux/-/merge_requests/1524


Reply to: