1 |
On Sun, 14 Apr 2013 17:39:44 +0100 |
2 |
Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote: |
3 |
|
4 |
> On Sun, 14 Apr 2013 16:58:07 +0200 |
5 |
> Michał Górny <mgorny@g.o> wrote: |
6 |
> > On Sun, 14 Apr 2013 15:22:42 +0100 |
7 |
> > Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote: |
8 |
> > > On Sat, 13 Apr 2013 23:23:57 +0200 |
9 |
> > > Michał Górny <mgorny@g.o> wrote: |
10 |
> > > > As most of you probably doesn't know, PMS guarantees that ${D} |
11 |
> > > > always ends with a slash. It seems that this particular wording |
12 |
> > > > was enforced by historical portage behavior (instead of fixing |
13 |
> > > > the ebuilds...) yet it didn't ever get really widespread. |
14 |
> > > |
15 |
> > > Should ROOT usually be empty then? |
16 |
> > |
17 |
> > Considering its use, probably yes. |
18 |
> > |
19 |
> > ${ROOT}/usr/bin/foo |
20 |
> > ${EPREFIX}/usr/bin/foo |
21 |
> > ${D}${EPREFIX}/usr/bin/foo |
22 |
> > |
23 |
> > All seem clean and consistent to me. |
24 |
> |
25 |
> How many things test whether ROOT=/ ? I seem to recall that being |
26 |
> fairly common, back when something accidentally set it to //. |
27 |
|
28 |
Yes, that sucks a fair bit. There are many ebuilds doing that, and most |
29 |
of those ebuilds append additional slash after it anyway... we really |
30 |
suck at consistency. |
31 |
|
32 |
-- |
33 |
Best regards, |
34 |
Michał Górny |