On Mon, Aug 13, 2012 at 4:50 AM, Nilesh Govindrajan <cont...@nileshgr.com>wrote:

> On Aug 13, 2012 2:19 PM, "Nilesh Govindrajan" <cont...@nileshgr.com>
> wrote:
> >
> > What's the disadvantage of compiling in sandbox instead of compiling
> directly with userpriv?
>
> *advantage
>

If you do things like parallel builds (-j applied to emerge, not just
make), a sandbox can help keep the build environment consistent throughout
a build. (And if that's not a feature that's currently in sandbox, it's one
where an extension of which is being discussed in -dev right now, and being
worked on by a few people.)

The other thing sandbox gives you is some protection from badly-written
build systems, such as ones which go out and modify files outside of
explicitly-allowed paths and the like, or try installing files before 'make
install'...that kind of thing.

-- 
:wq

Reply via email to