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
Message-Id: 4E2C4810.7020004@gentoo.org
In Reply to: Re: [gentoo-kernel] virtual/linux-sources-2.6 by Stratos Psomadakis
1 On 24/07/11 18:09, Stratos Psomadakis wrote:
2 > On 07/24/2011 06:20 PM, Ulrich Mueller wrote:
3 >> Currently version 3.0 is only available with vanilla-sources and
4 >> gentoo-sources. Therefore the problem is that virtual/linux-sources-3
5 >> would pull in one of these even for users of other *-sources (e.g.
6 >> hardened).
7 >>
8 >> On the other hand, allowing versions 3.* as dependency of
9 >> virtual/linux-sources-2.6 might be confusing.
10 >>
11 >> Therefore, my suggestion would be as follows:
12 >> 1. Temporarily change the dependency in virtual/linux-sources-2.6
13 >> to >=2.6 in order to resolve the current issues with dependencies.
14 >> 2. Later, when most of *-sources are available in version 3.*, revert
15 >> linux-sources-2.6 to the current dependency and create
16 >> virtual/linux-sources-3. (I think the version should be just 3 and
17 >> not 3.0, unless you want a virtual for 3.0, 3.1, etc.)
18 >>
19 >> Or, a completely different approach: Drop the versioning of the
20 >> virtual altogether and have only virtual/linux-sources-0. (This might
21 >> cause some minor problems for users of 2.4 profiles, but I'd guess
22 >> that the remaining users are experienced enough to handle that.)
23 > Having separate versions for 2.6 and 3.0 doesn't make much sense. The
24 > are no 'incompatibilities' or major changes between 2.6 and 3 to justify
25 > a separate version/ebuild (unlike the 2.4 -> 2.6 transition). The only
26 > change is the version digits.
27 >
28 > I'd prefer the second solution. Could you be more specific about the
29 > problems that users of 2.4 profiles could encounter by that change?
30
31 Take a look at this:
32
33 .../portage/profiles$ grep -Hr virtual/linux-sources * | grep -v ChangeLog
34 selinux/packages:>=virtual/linux-sources-2.6
35 uclibc/sh/2.4/packages:<virtual/linux-sources-2.5
36 uclibc/arm/2.4/packages:<virtual/linux-sources-2.5
37 uclibc/arm/armeb/2.4/packages:<virtual/linux-sources-2.5
38 uclibc/ppc/2.4/packages:<virtual/linux-sources-2.5
39 uclibc/ppc/hardened/2.4/packages:<virtual/linux-sources-2.5
40 uclibc/x86/2005.1/2.4/packages:<virtual/linux-sources-2.5
41 uclibc/x86/2.4/packages:<virtual/linux-sources-2.5
42 uclibc/x86/hardened/2.4/packages:<virtual/linux-sources-2.5
43 use.local.desc:virtual/linux-sources:xrc - Add support for infiniband xrc
44
45 Note the dependency that forces users of some profiles to have linux-sources-2.4
46 installed. If we go with unversioned (or to be precise: version 0) virtual those
47 would match any kernel, not only 2.4.x.
48
49 --
50 Krzysztof Pawlik <nelchael at gentoo.org> key id: 0xF6A80E46
51 desktop-misc, java, vim, kernel, python, apache...

Attachments

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