1 |
On 03/21/2017 12:46 AM, Michał Górny wrote: |
2 |
> Use a model of fake FILESDIR path to ensure that invalid accesses to |
3 |
> FILESDIR will result in failures rather than being silently allowed by |
4 |
> Portage. This mostly involves accesses in the global scope and pkg_* |
5 |
> phases, although the current model does not cover the latter completely |
6 |
> (i.e. does not guarantee that the directory is removed post src_*). |
7 |
> |
8 |
> This model aims to follow PMS wording quite precisely. The value of |
9 |
> FILESDIR is meant to be stable throughout the build process, and it is |
10 |
> reliably set to a temporary directory path. However, since the path is |
11 |
> not guaranteed to be present outside src_*, the directory symlink is not |
12 |
> actually created before src_* phases. |
13 |
> --- |
14 |
> man/ebuild.5 | 6 +++--- |
15 |
> pym/_emerge/EbuildPhase.py | 6 +++++- |
16 |
> pym/portage/package/ebuild/config.py | 3 --- |
17 |
> pym/portage/package/ebuild/doebuild.py | 2 +- |
18 |
> pym/portage/package/ebuild/prepare_build_dirs.py | 13 +++++++++++++ |
19 |
> 5 files changed, 22 insertions(+), 8 deletions(-) |
20 |
|
21 |
Looks good now. Thanks! |
22 |
-- |
23 |
Thanks, |
24 |
Zac |