1 |
Hi, |
2 |
I don't understand the following passage from section "The state of |
3 |
the system between functions": |
4 |
|
5 |
* Variancy is any package manager action that modifies either ROOT |
6 |
or / in any way that isn't merely a simple addition of something |
7 |
that doesn't alter other packages. This includes any non-default |
8 |
call to any pkg phase function except pkg_setup, a merge of any |
9 |
package or an unmerge of any package. |
10 |
* As an exception, changes to DISTDIR do not count as variancy. |
11 |
* The pkg_setup function may be assumed not to introduce variancy. |
12 |
Thus, ebuilds must not perform variant actions in this phase. |
13 |
|
14 |
Why is the second item needed? Changes to DISTDIR don't alter other |
15 |
packages, so aren't they covered by the first item anyway? Or do I |
16 |
misunderstand the first item's first sentence? |
17 |
|
18 |
Which of the following examples count as "variancy"? |
19 |
- Calling enewuser() in pkg_setup, |
20 |
- Removing orphan files in pkg_setup, |
21 |
- Calling pkg_pretend. |
22 |
|
23 |
Ulrich |