[oe] Cleaning tmp folder

Denys Dmytriyenko denis at denix.org
Thu Mar 19 12:59:49 UTC 2009


On Thu, Mar 19, 2009 at 11:01:08AM +0100, Michael 'Mickey' Lauer wrote:
> On Wednesday 18 March 2009 01:06:00 Denys Dmytriyenko wrote:
> > On Tue, Mar 17, 2009 at 10:20:36PM +0000, Shane Dixon wrote:
> > > I've been digging through the bitbake files and I don't see any recipe
> > > for cleaning the tmp folder.  I typically just blow away the entire tmp/
> > > folder and build again, but then I'm spending time rebuilding the native
> > > packages and crosscompiler.
> > >
> > > Is there a bitbake recipe for cleaning out all non-native and
> > > non-crosscompiler packages from tmp or am I stuck just starting over
> > > each time?
> >
> > If you have packaged staging enabled (see INHERIT += "packaged-staging"),
> > you can try setting DEPLOY_DIR_PSTAGE (or entire DEPLOY_DIR) outside of
> > TMPDIR.
> 
> Note that this doesn't work atm. since DEPLOY_DIR is not using a weak 
> assignment in bitbake.conf -- something which I'm changing as we speak.

Correct, DEPLOY_DIR is not a weak assignment. But I believe DEPLOY_DIR_PSTAGE 
is. Also, it can be "fixed" locally in the overlay.

-- 
Denys




More information about the Openembedded-devel mailing list