Gentoo Archives: gentoo-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] profile: specific versions in virtuals
Date: Sat, 04 Dec 2004 12:25:57
Message-Id: 200412042127.19323.jstubbs@gentoo.org
In Reply to: [gentoo-dev] profile: specific versions in virtuals by "Lluís Batlle i Rossell"
1 On Saturday 04 December 2004 21:16, Lluís Batlle i Rossell wrote:
2 > Hi!
3 >
4 > I decided to create a new profile for me, using my own virtuals. As I was
5 > creating mine, I liked to have a specific version of headers and sources in
6 > my virtuals definition.
7 > For specifying a version, I've to type a "=" in front of the ebuild, and
8 > add the version to it. So, I use:
9 > virtual/linux-sources =sys-kernel/development-sources-2.6.7
10 > virtual/os-headers =sys-kernel/linux26-headers-2.6.7-r4
11 >
12 > But having a = in the name makes portage to ignore the virtuals definition.
13 >
14 > Maybe that's a bug... maybe that's a "feature" for denying specific version
15 > usage in virtuals - Which is the intention, in that case? :)
16
17 Virtuals are not versionable at present. They probably will be one day, but in
18 a different way that's not like what you are doing here. What you appear to
19 be trying to do is achievable by using the correct files.
20
21 To do what you are trying to do, try the following:
22
23 virtuals:
24 virtual/linux-sources sys-kernel/development-sources
25 virtual/os-headers sys-kernel/linux26-headers
26
27 package.mask:
28 >sys-kernel/development-sources-2.6.7
29 >sys-kernel/linux26-headers-2.6.7-r4
30
31 Regards,
32 Jason Stubbs
33
34 --
35 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] profile: specific versions in virtuals "Lluís Batlle i Rossell" <viric@××××××××××××××××××.net>