Bug#550584: Initial triggers patch and tracking of highest kernel
On Wed, Mar 09, 2011 at 08:18:44PM +0100, Loïc Minier wrote:
>On Wed, Mar 09, 2011, Steve McIntyre wrote:
>> Neither do I *for definite*, but I know that other tools that rely on
>> kernel ABI have been thrown by the sort order of "trunk" vs "1", "2",
>> etc. so I'm raising it early in case it matters.
>
> My first reaction was that it was basically the problem of the people
> using this name in the first place, but then I figured that if
> flash-kernel just did what grub does, nobody would complain. Turns out
> grub seems to have special casing for trunk!
>
> it uses version_find_latest() below which calls version_test_gt(),
> sounds like exactly what we need, and version_test_gt() starts by
> transforming trunk versions to use ~.
Cool, I'm glad I prompted you to look. :-)
--
Steve McIntyre, Cambridge, UK. steve@einval.com
Into the distance, a ribbon of black
Stretched to the point of no turning back
Reply to: