Gentoo Archives: gentoo-kernel

From: Krzysztof Pawlik <nelchael@g.o>
To: gentoo-kernel@l.g.o
Subject: Re: [gentoo-kernel] virtual/linux-sources-2.6
Date: Sun, 24 Jul 2011 17:03:43
In Reply to: Re: [gentoo-kernel] virtual/linux-sources-2.6 by Stratos Psomadakis
On 24/07/11 18:09, Stratos Psomadakis wrote:
> On 07/24/2011 06:20 PM, Ulrich Mueller wrote: >> Currently version 3.0 is only available with vanilla-sources and >> gentoo-sources. Therefore the problem is that virtual/linux-sources-3 >> would pull in one of these even for users of other *-sources (e.g. >> hardened). >> >> On the other hand, allowing versions 3.* as dependency of >> virtual/linux-sources-2.6 might be confusing. >> >> Therefore, my suggestion would be as follows: >> 1. Temporarily change the dependency in virtual/linux-sources-2.6 >> to >=2.6 in order to resolve the current issues with dependencies. >> 2. Later, when most of *-sources are available in version 3.*, revert >> linux-sources-2.6 to the current dependency and create >> virtual/linux-sources-3. (I think the version should be just 3 and >> not 3.0, unless you want a virtual for 3.0, 3.1, etc.) >> >> Or, a completely different approach: Drop the versioning of the >> virtual altogether and have only virtual/linux-sources-0. (This might >> cause some minor problems for users of 2.4 profiles, but I'd guess >> that the remaining users are experienced enough to handle that.) > Having separate versions for 2.6 and 3.0 doesn't make much sense. The > are no 'incompatibilities' or major changes between 2.6 and 3 to justify > a separate version/ebuild (unlike the 2.4 -> 2.6 transition). The only > change is the version digits. > > I'd prefer the second solution. Could you be more specific about the > problems that users of 2.4 profiles could encounter by that change?
Take a look at this: .../portage/profiles$ grep -Hr virtual/linux-sources * | grep -v ChangeLog selinux/packages:>=virtual/linux-sources-2.6 uclibc/sh/2.4/packages:<virtual/linux-sources-2.5 uclibc/arm/2.4/packages:<virtual/linux-sources-2.5 uclibc/arm/armeb/2.4/packages:<virtual/linux-sources-2.5 uclibc/ppc/2.4/packages:<virtual/linux-sources-2.5 uclibc/ppc/hardened/2.4/packages:<virtual/linux-sources-2.5 uclibc/x86/2005.1/2.4/packages:<virtual/linux-sources-2.5 uclibc/x86/2.4/packages:<virtual/linux-sources-2.5 uclibc/x86/hardened/2.4/packages:<virtual/linux-sources-2.5 use.local.desc:virtual/linux-sources:xrc - Add support for infiniband xrc Note the dependency that forces users of some profiles to have linux-sources-2.4 installed. If we go with unversioned (or to be precise: version 0) virtual those would match any kernel, not only 2.4.x. -- Krzysztof Pawlik <nelchael at> key id: 0xF6A80E46 desktop-misc, java, vim, kernel, python, apache...


File name MIME type
signature.asc application/pgp-signature