1 |
>>>>> On Sat, 18 Jun 2011, justin wrote: |
2 |
|
3 |
> On 18/06/11 13:18, Petteri Räty wrote: |
4 |
>> That approach would still write to the filesystem. With the current |
5 |
>> text the PM is probably allowed to set the sandbox so that writing |
6 |
>> is anywhere is denied. |
7 |
|
8 |
> The reason why it would be beneficial to use is the pkg_pretend |
9 |
> phase is simply that the checks would run at the beginning of a |
10 |
> emerge and it would fail directly instead somewhere in the middle. |
11 |
> For a single package it won't change much but for a huge emerge it |
12 |
> changes the things. |
13 |
|
14 |
> But when there is no writing allowed during the pretend phase. then |
15 |
> the only chance is to move it to pkg_setup. |
16 |
|
17 |
I wonder if we could loosen up that requirement in PMS. In Portage |
18 |
at least, T seems to point to an existing directory in pkg_pretend. |
19 |
I don't know about the other package managers though. |
20 |
|
21 |
Ulrich |