[yocto] pseudo interaction issue

Richard Purdie richard.purdie at linuxfoundation.org
Mon Mar 26 09:47:29 PDT 2012


On Mon, 2012-03-26 at 11:44 -0500, Peter Seebach wrote:
> On Sat, 24 Mar 2012 17:41:43 +0000
> Richard Purdie <richard.purdie at linuxfoundation.org> wrote:
> 
> > One or the other of the above on their own doesn't do this. Funky.
> 
> That's very strange.  I wouldn't have expected LOCALSTATEDIR to have
> any effect either way; it might change how pseudo runs, but it shouldn't
> affect whether it's being enabled.
> 
> If we are starting with pseudo loaded, I'm pretty sure it's unsafe to
> unset PSEUDO_PREFIX ever.  After a fork(), pseudo will still be in
> memory, and if PSEUDO_PREFIX is unset, Bad Things Happen.

This is pretty much what we do at the moment, it gets unset after we
load. Pseudo is of course disabled at this point.

I guess we just got lucky to this point and avoided "Bad Things"?

Cheers,

Richard





More information about the yocto mailing list