1 |
On Wed, 2019-06-05 at 21:10 +0200, Pacho Ramos wrote: |
2 |
> El mié, 05-06-2019 a las 11:12 +0200, Michał Górny escribió: |
3 |
> > [...] |
4 |
> > +# Then you add appropriate dependency to your package. The dependency |
5 |
> > +# type(s) should be: |
6 |
> > +# - DEPEND (+ RDEPEND) if the group is already needed at build time, |
7 |
> > +# - RDEPEND if it is needed at install time (e.g. you 'fowners' files |
8 |
> > +# in pkg_preinst), |
9 |
> > +# - PDEPEND if it is only needed at runtime. |
10 |
> |
11 |
> Maybe is a stupid question but, why is PDEPEND preferred over RDEPEND for |
12 |
> packages needing the group only at runtime? |
13 |
|
14 |
To delay user creation as far as possible, in case the package failed to |
15 |
build. Not that it will usually work since Portage will install |
16 |
the user early anyway. |
17 |
|
18 |
> |
19 |
> If I don't misremember, PDEPEND was meant to be used to avoid circular deps |
20 |
> issues, while using RDEPEND otherwise |
21 |
> |
22 |
> Thanks :) |
23 |
|
24 |
-- |
25 |
Best regards, |
26 |
Michał Górny |