Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198588 - openvz-sources should include kernel version in $PV
Summary: openvz-sources should include kernel version in $PV
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 194360
  Show dependency tree
 
Reported: 2007-11-09 19:13 UTC by Daniel Robbins
Modified: 2007-11-18 07:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Robbins 2007-11-09 19:13:52 UTC
The openvz-sources ebuilds are assigned a version based on the upstream openvz patch. However, the upstream openvz patch version is "reset" for every new kernel release. For example, the following openvz versions can happen in chronological order:

028.027 (for kernel 2.6.18)
003.000 (for kernel 2.6.23)

This results in openvz-sources not having chronological version numbers.

Solution:

Append the OpenVZ version number to the kernel version number. So the above chronological releases would become:

2.6.18.028.027 (ie. openvz-sources-2.6.18.028.027.ebuild)
2.6.23.003.000 (ie. openvz-sources-2.6.23.003.000.ebuild)

In my opinion, this is easier to understand and will allow Portage to properly compare the version of openvz-sources ebuilds when they span more than one kernel version.

Reproducible: Always
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2007-11-10 08:03:54 UTC
(In reply to comment #0)
> In my opinion, this is easier to understand and will allow Portage to properly
> compare the version of openvz-sources ebuilds

as long as upstream keeps this versioning, which will probably not happen...

nevertheless, have fun updating these, i'm sick of it..
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2007-11-10 13:02:17 UTC
Ok. Plan is to do this with the next bump, then stabilize that kernel and clean old with wrong versions.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2007-11-18 07:36:43 UTC
Starting with 2.6.18.028.049 versioning changed. Fixed.
Comment 4 Daniel Robbins 2007-11-18 07:37:51 UTC
Cool! :) Thanks for doing this.