From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Cleaning tmp folder
Date: Tue, 17 Mar 2009 20:06:00 -0400 [thread overview]
Message-ID: <20090318000600.GA20384@denix.org> (raw)
In-Reply-To: <1237328436.20770.57.camel@homestead>
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.
Then you can safely kill TMPDIR and
${DEPLOY_DIR_PSTAGE}/${DISTRO}${PSTAGE_EXTRAPATH} while keeping
${DEPLOY_DIR_PSTAGE}/${DISTRO}${PSTAGE_EXTRAPATH}${TMPDIR//\//-}
That would _reuse_ staging packages for native, cross and sdk packages and
_rebuild_ the target ones.
The above directories in my case are:
[1] /home/oe/deploy/pstage/angstromglibc
[2] /home/oe/deploy/pstage/angstromglibc-home-oe-tmp
Kill the [1] and keep the [2] :)
Hope this helps.
--
Denys
next prev parent reply other threads:[~2009-03-18 0:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-17 22:20 Cleaning tmp folder Shane Dixon
2009-03-17 23:33 ` Andrea Adami
2009-03-18 0:16 ` Denys Dmytriyenko
2009-03-18 8:21 ` Frans Meulenbroeks
2009-03-18 17:12 ` Denys Dmytriyenko
2009-03-19 10:31 ` Frans Meulenbroeks
2009-03-18 0:06 ` Denys Dmytriyenko [this message]
2009-03-19 10:01 ` Michael 'Mickey' Lauer
2009-03-19 12:59 ` Denys Dmytriyenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090318000600.GA20384@denix.org \
--to=denis@denix.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.