Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] chicken <--> egg (NFS & tty video)
Date: Sat, 14 May 2011 22:06:18
Message-Id: 201105150004.08815.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] chicken <--> egg (NFS & tty video) by William Hubbs
1 Apparently, though unproven, at 23:21 on Saturday 14 May 2011, William Hubbs
2 did opine thusly:
3
4 > On Sat, May 14, 2011 at 11:36:29AM -0400, Willie Wong wrote:
5 > > There's no big harm, except that you may end up rebuilding a bunch of
6 > > packages. One way to get a lot of hands-on control on precisely what
7 > > USE you want it via the "-*" flag. But be VERY careful if you are
8 > > going to use it. A USE variable set in /etc/make.conf starting with it
9 > >
10 > > USE="-* X vim ..."
11 > >
12 > > will use nothing but those variables (plus the package specific ones
13 > > specified in /etc/portage). There are certain flags that you most
14 > > likely don't want to turn off: cxx, posix, and threads for example.
15 > >
16 > > It is a powerful tool; which means you can also seriously hurt
17 > > yourself from it.
18 >
19 > PLEASE PLEASE PLEASE DO NOT DO THIS.
20 >
21 > It turns off all use flags set in profiles as well as use flag defaults
22 > set in ebuilds.
23 >
24 > The safer way, and the way I would recommend, is to use something like
25 > euse from gentoolkit to figure out which flags are on and turn off the
26 > ones you do not want in make.conf instead of turning off everything and
27 > trying to turn back on the ones you do want.
28
29
30 Agreed.
31
32 "emerge --info | grep USE" reveals what an enormous task it is to fix USE=-*.
33 Not only an enormous task but a fruitless one too - most of the flags will
34 just get re-enabled!
35
36 Most people advocating this on list threads and forums, want a minimal system
37 without all the KDE/Gnome/etc bloat. The correct way to do that is to use a
38 minimal profile then examine the now much smaller emerge --info and disabled
39 the few remiaining USE flags one does not want.
40
41 --
42 alan dot mckinnon at gmail dot com