Gerald Pfeifer napsal(a):
[ -> opensuse-kernel ]
On Wed, 29 Jul 2009, Michael Schroeder wrote:
On Wed, Jul 29, 2009 at 10:16:55AM +0200, Stephan Kulow wrote:
I'm afraid the problem is that it sees 2.6.30_10 as higher version than 2.6.30.2_1 because it compares by split(/\./, $version) - and there you only compare 30 with 30_10 - and there usually _10 is the higher one Just to clarify things, rpm splits by /[^a-zA-Z0-9]/, so 2.6.30_10 compares to 2.6.30.2_1 as
2 6 30 10 2 6 30 2 1
and 10 > 2.
So, reading this again, it seems the best workaround/fix will be to name the next version of the kernel 2.6.32.0 instead of 2.6.32?
Or maybe just change it for KMPs? kernel-default 2.6.31-10 -> foo-kmp-default-1.0_2.6.31.0_10 ^^ kernel-default 2.2.31.1-5 -> foo-kmp-default-1.0_2.6.31.1_5 (no change) Michal -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org