Gentoo Archives: gentoo-dev

From: Aaron Walker <ka0ttic@g.o>
To: gentoo-dev@××××××××××××.org
Subject: Re: [gentoo-dev] Identifying inherit-only / usable profiles (round 2)
Date: Thu, 10 Mar 2005 12:56:09
Message-Id: 423043E4.8050804@gentoo.org
In Reply to: Re: [gentoo-dev] Identifying inherit-only / usable profiles (round 2) by Jerome Brown
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Jerome Brown wrote:
5 > Aaron Walker wrote:
6 > <snip>
7 >
8 >>In the case that I need this for (the eclectic profiles module), it'd be much
9 >>better IMO to be able to show valid profiles for a certain arch since a valid
10 >>profile for sparc is obviously not a valid profile for x86.
11 >>
12 >>Having a format of something like:
13 >>
14 >>alpha default-linux/alpha/2004.3
15 >>alpha default-linux/alpha/2005.0
16 >>...
17 >>x86 default-linux/x86/2004.3
18 >>...
19 >>
20 >>would be ideal IMO.
21 >>
22 >>comments?
23 >
24 >
25 > Is there a need for a seperate column? Would it not be eaiser to parse
26 > the profile name to extract that information. This would then allow you
27 > to search for all profiles that are valid for eg x86 BSD or alpha linux.
28 > Are there any situations where the arch and/or OS are not in the profile
29 > path? From a quick glance the non-default profiles (hardened, uclibc,
30 > embedded etc) do not specify a -linux in the profile which would mean
31 > either dropping the OS query, putting an OS column in or changing the
32 > profiles (which has the advantage of making them more consistant).
33 >
34
35 There might be more, but the one I can think of off the top of my head is the
36 one for fbsd (keyword x86-fbsd) which is default-bsd/fbsd/x86.
37
38 I really wouldn't want to have to deal with special cases when you can just do
39 a simple sed call searching for lines beginning with $(portageq envvar ARCH).
40
41 - --
42 Slooly und soorely zee uneex crept up oon zee Neentendu user ...
43 Bork Bork Bork!
44
45 Aaron Walker <ka0ttic@g.o>
46 [ BSD | cron | forensics | shell-tools | commonbox | netmon | vim | web-apps ]
47 -----BEGIN PGP SIGNATURE-----
48 Version: GnuPG v1.4.0 (GNU/Linux)
49
50 iD8DBQFCMEPkC3poscuANHARAscEAKDfJbtd/3gWNm9zKDwiV3IvbWmC9gCgiQcH
51 K5hqpeh77yrTFUw0vrYE0z8=
52 =RNdS
53 -----END PGP SIGNATURE-----
54 --
55 gentoo-dev@g.o mailing list