1 |
On Tuesday 27 October 2009 05:23:25 Harry Putnam wrote: |
2 |
> Alan McKinnon <alan.mckinnon@×××××.com> writes: |
3 |
> >> [1] default/linux/x86/10.0 * |
4 |
> >> [2] default/linux/x86/10.0/desktop |
5 |
> >> [3] default/linux/x86/10.0/developer |
6 |
> >> [4] default/linux/x86/10.0/server |
7 |
> >> [5] hardened/linux/x86/10.0 |
8 |
> >> [6] selinux/2007.0/x86 |
9 |
> >> [7] selinux/2007.0/x86/hardened |
10 |
> >> [8] selinux/v2refpolicy/x86 |
11 |
> >> [9] selinux/v2refpolicy/x86/desktop |
12 |
> >> [10] selinux/v2refpolicy/x86/developer |
13 |
> >> [11] selinux/v2refpolicy/x86/hardened |
14 |
> >> [12] selinux/v2refpolicy/x86/server |
15 |
> >> rattus ~ # |
16 |
> > |
17 |
> > In almost all cases [2] or [4] is a better choice than [1] |
18 |
> |
19 |
> Alan, what does it get you? In fact what does `developer' buy you? |
20 |
|
21 |
x86/10.0 gives you a baseline for that release |
22 |
x86/10.0/desktop|developer|server give you a profile more suited (tweaked) for |
23 |
that kind of usage. |
24 |
|
25 |
Examine the profiles and follow the paths in the "parent files" to see what's |
26 |
in them (I indented stuff and removed comments for clarity): |
27 |
|
28 |
x86/10.0: |
29 |
|
30 |
make.defaults: |
31 |
# Adding this one, since it makes sense. |
32 |
USE="${USE} bzip2" |
33 |
|
34 |
packages: |
35 |
>=sys-apps/baselayout-1.12.10-r5 |
36 |
>=sys-devel/binutils-2.18-r1 |
37 |
>=sys-libs/glibc-2.4-r4 |
38 |
>=sys-apps/portage-2.1.6.8 |
39 |
|
40 |
x86/10.0/desktop: |
41 |
|
42 |
make.defaults: |
43 |
USE="a52 aac acpi alsa branding cairo cdr dbus dts dvd dvdr eds emboss |
44 |
encode evo fam firefox flac gif gnome gpm gstreamer gtk hal jpeg kde ldap |
45 |
libnotify mad mikmod mp3 mp4 mpeg ogg opengl pdf png ppds qt3support qt4 |
46 |
quicktime sdl spell svg thunar tiff truetype vorbis win32codecs unicode |
47 |
usb X x264 xml xulrunner xv xvid" |
48 |
|
49 |
# This is added for GNOME/Xfce |
50 |
USE="${USE} startup-notification" |
51 |
|
52 |
# Adding this for bluetooth support |
53 |
USE="${USE} bluetooth consolekit" |
54 |
|
55 |
package.use: |
56 |
# While we may need LDAP client support, who needs the server on a |
57 |
desktop? |
58 |
# Did I mention that this also fixes the horrible perl dependency hell, |
59 |
too? |
60 |
net-nds/openldap minimal |
61 |
|
62 |
x86/10.0/server: |
63 |
|
64 |
make.defaults: |
65 |
USE="apache2 ldap mysql snmp truetype xml" |
66 |
|
67 |
x86/10.0/developer: |
68 |
|
69 |
parent: |
70 |
../server |
71 |
../desktop |
72 |
FEATURES="collision-protect cvs digest multilib-strict sign splitdebug |
73 |
stricter test userpriv usersandbox" |
74 |
|
75 |
# Disable branding (from desktop) |
76 |
USE="-branding" |
77 |
|
78 |
# As much as it pains me, we hope that developers know what they're doing. |
79 |
I_KNOW_WHAT_I_AM_DOING="yes" |
80 |
|
81 |
# Enable asneeded for GNU ld. |
82 |
LD_AS_NEEDED="1" |
83 |
|
84 |
|
85 |
|
86 |
|
87 |
The desktop choices are pretty sane. Most of those USE flags are things you |
88 |
would set anyway on the average desktop, and it's much easier to remove the |
89 |
few you might not want from the default than to add that long list to |
90 |
make.conf yourself. |
91 |
|
92 |
"server" really just adds apache and mysql. |
93 |
|
94 |
"developer" is the union between desktop and server. |
95 |
|
96 |
But none of this is prescriptive. If you feel you need something quite |
97 |
different from "desktop", it's OK to use something else. The desktop profile |
98 |
is just a convenience but an extremely handy one. |
99 |
|
100 |
|
101 |
-- |
102 |
alan dot mckinnon at gmail dot com |