Mailinglist Archive: opensuse-factory (594 mails)
| < Previous | Next > |
Re: [opensuse-kernel] Re: [opensuse-factory] 'zypper dup' updating kernel when 'zypper up' does not? (fwd)
- From: Michal Marek <mmarek@xxxxxxx>
- Date: Mon, 07 Sep 2009 12:28:49 +0200
- Message-id: <4AA4E061.6070802@xxxxxxx>
Gerald Pfeifer napsal(a):
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
[ -> 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 versionJust to clarify things, rpm splits by /[^a-zA-Z0-9]/, so
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
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |