[opensuse-kernel] kernel-*-2.6.37-rc3.git1.5.1
Hi kernel-hackers, i really appreciate that the kernel was updated to 2.6.37-rc3-git1. However, it does not work well with zypper: susi:~ # zypper search -s kernel-desktop Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository --+--------------------------------+------------+---------------------+--------+------------------ v | kernel-desktop | package | 2.6.37-6.1 | x86_64 | factory-oss v | kernel-desktop | package | 2.6.37-rc3.git1.5.1 | x86_64 | KOTD v | kernel-desktop | package | 2.6.37-6.1 | i586 | factory-oss v | kernel-desktop | package | 2.6.37-rc3.git1.4.1 | i586 | KOTD i | kernel-desktop | package | 2.6.37-rc3.3.1 | x86_64 | (System Packages) [...] susi:~ # zypper up Loading repository data... Reading installed packages... Nothing to do. probably simply staying at 2.6.37-rc3 and only increasing the build number would have been better? On a side note: I just found that the kernel releases are a bit strange: susi:~ # rpm -qi kernel-desktop Name : kernel-desktop Relocations: (not relocatable) Version : 2.6.37 Vendor: obs://build.opensuse.org/Kernel Release : rc3.3.1 Build Date: Tue Nov 23 10:23:59 2010 Install Date: Tue Nov 23 22:45:35 2010 Build Host: build11 Group : System/Kernel Source RPM: kernel-desktop-2.6.37-rc3.3.1.nosrc.rpm shouldn't this be Version: 2.6.37-rc3 Release: 3.1? Thanks, seife -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On 25.11.2010 12:03, Stefan Seyfried wrote:
S | Name | Type | Version | Arch | Repository --+--------------------------------+------------+---------------------+--------+------------------ v | kernel-desktop | package | 2.6.37-6.1 | x86_64 | factory-oss v | kernel-desktop | package | 2.6.37-rc3.git1.5.1 | x86_64 | KOTD v | kernel-desktop | package | 2.6.37-6.1 | i586 | factory-oss v | kernel-desktop | package | 2.6.37-rc3.git1.4.1 | i586 | KOTD i | kernel-desktop | package | 2.6.37-rc3.3.1 | x86_64 | (System Packages) [...] susi:~ # zypper up Loading repository data... Reading installed packages...
Nothing to do.
probably simply staying at 2.6.37-rc3 and only increasing the build number would have been better?
Maybe.
On a side note: I just found that the kernel releases are a bit strange:
susi:~ # rpm -qi kernel-desktop Name : kernel-desktop Relocations: (not relocatable) Version : 2.6.37 Vendor: obs://build.opensuse.org/Kernel Release : rc3.3.1 Build Date: Tue Nov 23 10:23:59 2010 Install Date: Tue Nov 23 22:45:35 2010 Build Host: build11 Group : System/Kernel Source RPM: kernel-desktop-2.6.37-rc3.3.1.nosrc.rpm
shouldn't this be
Version: 2.6.37-rc3 Release: 3.1?
Letters sort before numbers in rpm, so with the current numbering, there is at least the chance that the final release will be newer than the -rcs: $ LANG=C zypper vcmp 2.6.37-rc3.1 2.6.37-1 2.6.37-rc3.1 is older than 2.6.37-1 whereas moving the -rc tag to the version field would result in: $ LANG=C zypper vcmp 2.6.37_rc3-1 2.6.37-1 2.6.37_rc3-1 is newer than 2.6.37-1 (you can't use dashes in the version or release field for, hence the underscore). Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Thursday 25 November 2010, 12:03:19 Stefan Seyfried wrote:
Hi kernel-hackers,
i really appreciate that the kernel was updated to 2.6.37-rc3-git1. However, it does not work well with zypper:
susi:~ # zypper search -s kernel-desktop Loading repository data... Reading installed packages...
S | Name | Type | Version | Arch | Repository --+--------------------------------+------------+-------------------- -+--------+------------------ v | kernel-desktop | package | 2.6.37-6.1 | x86_64 | factory-oss v | kernel-desktop | package | 2.6.37-rc3.git1.5.1 | x86_64 | KOTD v | kernel-desktop | package | 2.6.37-6.1 | i586 | factory-oss v | kernel-desktop | package | 2.6.37-rc3.git1.4.1 | i586 | KOTD i | kernel-desktop | package | 2.6.37-rc3.3.1 | x86_64 | (System Packages) [...] susi:~ # zypper up Loading repository data... Reading installed packages...
Nothing to do.
probably simply staying at 2.6.37-rc3 and only increasing the build number would have been better?
On a side note: I just found that the kernel releases are a bit strange:
susi:~ # rpm -qi kernel-desktop Name : kernel-desktop Relocations: (not relocatable) Version : 2.6.37 Vendor: obs://build.opensuse.org/Kernel Release : rc3.3.1 Build Date: Tue Nov 23 10:23:59 2010 Install Date: Tue Nov 23 22:45:35 2010 Build Host: build11 Group : System/Kernel Source RPM: kernel-desktop-2.6.37-rc3.3.1.nosrc.rpm
shouldn't this be
Version: 2.6.37-rc3 Release: 3.1?
Given, you added your kernel and depending modules as multiversion in /etc/zypp/zypp.conf (if only globbing would work on this), just install the one you like should do the trick: zypper in kernel-desktop-2.6.37-6.1 @kernel hackers: I solve the numbering for pre releases by using e.g.: Release: 0.rc3.<CI_CNT>.<B_CNT> Would that fit for the issue in question, too? Pete -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Thu, 25 Nov 2010 13:31:32 +0100 "Hans-Peter Jansen" <hpj@urpla.net> wrote:
Version: 2.6.37-rc3 Release: 3.1?
Given, you added your kernel and depending modules as multiversion in /etc/zypp/zypp.conf (if only globbing would work on this), just install the one you like should do the trick:
zypper in kernel-desktop-2.6.37-6.1
No, i don't want kernel-desktop from FACTORY, i want kernel-desktop from KOTD. I have kernel-default from FACTORY. This way, I have two sufficiently different kernels (right now, they are pretty close, but normally FACTORY is so old, that it usually really works ;) that one of them might work. And "zypper up" just works without me having to worry about anything. Multiversion does not really work for me, since it always only adds packages and never removes packages. So after a few weeks, I would have hundreds of kernels installed. Of course my disk space is too valuable for that ;-) Michal: ok, I understand why the numbering is the way it is now. I was just wondering why Kernel:HEAD was behind FACTORY and then discovering the "issue". Thanks for explaining. -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On 25.11.2010 13:43, Stefan Seyfried wrote:
Michal: ok, I understand why the numbering is the way it is now. I was just wondering why Kernel:HEAD was behind FACTORY and then discovering the "issue". Thanks for explaining.
Note that I only explained why the EXTRAVERSION string is stored in the release string in rpm. Leaving out the git<N> tag so that -rc3 and -rc3-git1 packages sort properly is still an option. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (3)
-
Hans-Peter Jansen
-
Michal Marek
-
Stefan Seyfried