On Wednesday, 9 November 2022 14:42:01 CET Diederik de Haas wrote: > On Thu, 28 Jan 2021 11:04:29 -0600 Gunnar Wolf <gw...@debian.org> wrote: > > Now... What to do here? I think dpkg --compare-versions here agreees > > > > with the simplistic ordering set by ls: > > $ if dpkg --compare-versions 5.10.0-trunk-armmp-lpae gt > > 5.10.0-1-armmp-lpae > > then > > echo trunk is larger > > else > > echo 1 is larger > > fi > > trunk is larger > > > > How would you suggest to check for this? > > Merging https://salsa.debian.org/debian/raspi-firmware/-/merge_requests/27 ? > IOW: use the kernel tooling to compare kernel versions.
The kernel-team no longer uses '-trunk' for non-ABI-tracked kernels (usually uploaded to Experimental), but uses '-0' now. Which means that simple comparison that is currently used, should no longer give the wrong result.
signature.asc
Description: This is a digitally signed message part.