[oe] Creating a pristine environment?

Richard Purdie rpurdie at rpsys.net
Thu May 8 11:29:30 UTC 2008


On Thu, 2008-05-08 at 13:06 +0200, Holger Freyther wrote:
> On Thursday 08 May 2008 12:05:38 Koen Kooi wrote:
> > Holger Freyther wrote:
> > > Hey,
> > >
> > > I have seen raster's environment breaking various buildsystems and we
> > > might want to really start having a clean environment before starting to
> > > build.
> > >
> > > the patch below should implement it. Should we do this in OE? I'm aware
> > > of the unexport inside OE but we really should do this the otherway
> > > around.
> >
> > While this is a good idea, your current implementation breaks:
> >
> > MACHINE=foo ANGSTROM_MODE=bar bitbake foo-bar-image
> 
> Well, that would make a case for keeping the unexport feature in OE. Or we 
> could move the unsetting to after having parsed the configuration. I will 
> give the 2nd idea a go...

I agree we should do something, I'm just not sure what. Personally I do
set things in the environment quite heavily and I'd prefer not to lose
that capability. Perhaps we clean by default but allow a user to
override and claim their starting environment is clean at their own
risk?

Cheers,

Richard





More information about the Openembedded-devel mailing list