1 |
>>>>> On Sun, 12 Jun 2011, Micha³ Górny wrote: |
2 |
|
3 |
>> It would be more accurate to say that it's guaranteed except for |
4 |
>> cases in which circular dependencies make it impossible to |
5 |
>> guarantee. |
6 |
|
7 |
> This or other words, this makes this an unreliable feature. So, |
8 |
> right now, users can't assume anything specific about dependencies |
9 |
> being installed in pkg_*? |
10 |
|
11 |
Currently, PMS only says: "These must be installed and usable before |
12 |
the ebuild is treated as usable." It doesn't say anything about phases. |
13 |
|
14 |
> Doesn't this make it actually impossible to call the installed |
15 |
> application in pkg_postinst()? |
16 |
|
17 |
I've always added such packages that I needed in pkg_postinst() to |
18 |
both DEPEND and RDEPEND. |
19 |
|
20 |
IIRC, a specific merge order in Portage is only guaranteed for DEPEND |
21 |
type dependencies, but not for RDEPEND and PDEPEND. |
22 |
|
23 |
Ulrich |