1 |
On 01-04-2009 05:30:01 +0000, Mike Frysinger wrote: |
2 |
> If you have something you'd wish for us to chat about, maybe even |
3 |
> vote on, let us know ! Simply reply to this e-mail for the whole |
4 |
> Gentoo dev list to see. |
5 |
|
6 |
I would like the council to discuss the addition of three variables to |
7 |
EAPI3. |
8 |
|
9 |
- EPREFIX |
10 |
The offset prefix of a Gentoo Prefix installation. When Gentoo Prefix |
11 |
is not used, ${EPREFIX} should be "". |
12 |
This variable should be available everywhere. |
13 |
- EROOT |
14 |
The offset prefix appended to ${ROOT}, e.g. ${ROOT%/}${EPREFIX}/ |
15 |
This variable is available where ROOT is, following PMS: pkg_* |
16 |
- ED |
17 |
The offset prefix appended to ${D}, e.g. ${D%/}${EPREFIX}/ |
18 |
This variable is available where D is, following PMS: src_install |
19 |
|
20 |
While the first variable (EPREFIX) can be set using an eclass, the |
21 |
latter two need to be set by the package manager. In particular ED, |
22 |
because the value of D might not be known. EROOT and ED are convenience |
23 |
variables. Making them available already now, even though initialised |
24 |
as ROOT and D respectively, allows Prefix enabled ebuilds to be shared |
25 |
between gentoo-x86 and Prefix trees without modifications. |
26 |
|
27 |
|
28 |
-- |
29 |
Fabian Groffen |
30 |
Gentoo on a different level |