Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Getting rid of lurking no* USE flags - profile-based package.use
Date: Tue, 02 Oct 2007 09:45:19
Message-Id: 20071002093339.GD25024@curie-int.orbis-terrarum.net
1 Hi Guys,
2
3 Before dberholz complains about my next commit, given that we have
4 support in profiles for package.use, how soon can we start to use it to
5 replace the old crufty no* flags (particularly ones that are critical to
6 a system).
7
8 One of the ones I've got in my sights is USE=nolvmstatic of sys-fs/lvm2.
9 It exists because we default to building LVM as static because it gets
10 included into the genkernel init environment (ultimately it should be
11 built by genkernel directly, but that's a different issue).
12
13 To implement it, I'd be adding this entry to profiles/base/package.use:
14 # Build a static LVM by default, for genkernel usage
15 sys-fs/lvm2 static
16
17 Likewise, USE='nolvm1' can change to 'USE=lvm1', and be included in
18 package.use.
19
20 --
21 Robin Hugh Johnson
22 Gentoo Linux Developer & Infra Guy
23 E-Mail : robbat2@g.o
24 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Replies