[oe] [Fwd: [poky] Packaged Staging Improvements]

Richard Purdie rpurdie at rpsys.net
Thu Jun 11 17:46:46 UTC 2009


On Thu, 2009-06-11 at 09:38 -0700, Christopher Larson wrote:
> On Jun 11, 2009, at 9:27 AM, Michael 'Mickey' Lauer wrote:
> 
> > On Thursday 11 June 2009 17:12:56 Richard Purdie wrote:
> >> Forwarding this as there is problem some interest here too...
> >
> > Sounds cool, will any of this also fix the deploy-area-out-of-tmpdir  
> > issue
> > which makes packaged staging completely not working for the typical  
> > usecase of
> > removing tmpdir and then expecting packages to be filled up from  
> > staging area
> > on rebuild?
> 
> You can use pstage for that use case without moving the entire deploy  
> area out of tmp, with a minor tweak, at least thats what I do here.   
> Change the PSTAGE_PKG assignment to ?= in packaged-staging.bbclass,  
> then set PSTAGE_PKG=${TOPDIR}/prebuilt/${PSTAGE_PKGNAME} or so.

Right, as Chris says, you just override the path. I'm surprised its not
a ?= in there already...

I'm certainly happy to use a better default. Personally, I just remove
directories except tmp/deploy/pstage or change DEPLOY_DIR itself outside
TMPDIR...

Cheers,

Richard







More information about the Openembedded-devel mailing list