1 |
On Mon, Aug 13, 2012 at 4:50 AM, Nilesh Govindrajan <contact@××××××××.com>wrote: |
2 |
|
3 |
> On Aug 13, 2012 2:19 PM, "Nilesh Govindrajan" <contact@××××××××.com> |
4 |
> wrote: |
5 |
> > |
6 |
> > What's the disadvantage of compiling in sandbox instead of compiling |
7 |
> directly with userpriv? |
8 |
> |
9 |
> *advantage |
10 |
> |
11 |
|
12 |
If you do things like parallel builds (-j applied to emerge, not just |
13 |
make), a sandbox can help keep the build environment consistent throughout |
14 |
a build. (And if that's not a feature that's currently in sandbox, it's one |
15 |
where an extension of which is being discussed in -dev right now, and being |
16 |
worked on by a few people.) |
17 |
|
18 |
The other thing sandbox gives you is some protection from badly-written |
19 |
build systems, such as ones which go out and modify files outside of |
20 |
explicitly-allowed paths and the like, or try installing files before 'make |
21 |
install'...that kind of thing. |
22 |
|
23 |
-- |
24 |
:wq |