All of what OE produces goes in tmp, so it that sense it can be conveniently deleted
w/o affecting your saved configurations, etc.  However, as Bob notes you
probably want to keep at least images around, if not all of tmp/deploy.  Also,
please be careful if you are using tmp/work/ to develop/modify kernels, etc.
Easy to delete work that way.

If you are not doing anything in tmp/work, one space-saver is to add:

INHERIT += "rm_work"

to your local configuration (in openembedded/conf/local.conf)
This nukes portions of the various tmp/work/_architecture_/package_name) directories as they are built.
(for example, from an older build I have:  tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-4.4.1-r8.1
which is occupying 1.6G of space!  Unless I am working on/patching gcc, no need to keep it around)

On Tue, Jan 11, 2011 at 8:06 AM, Bob Cochran <> wrote:
On 01/10/2011 11:01 PM, Alex Gibson wrote:
> On 11/01/2011 2:41 PM, Bob Cochran wrote:
>>> cd /home/alxx/overo-oe/
>>> rm -rf /tmp
>> That deletes the contents of /tmp, not ~/overo-oe/tmp
>> Did you mean
>> rm -rf tmp
> doh
> yes.

Bill, I suggest being very cautious about deleting tmp because the
images you have built to date are in
tmp/deploy/glibc/glibc/images/overo. You could back up those images
somewhere. I don't have enough experience with OpenEmbedded and BitBake
to judge the real effect of deleting all of tmp in order to save space
on a backup.

If my living depended on it, I would be doing weekly clones of my OS and
build environment to external hard drives and separate incremental
backups daily. But my living doesn't depend on OpenEmbedded, so I don't
do any backups for myself. I'm just tinkering for the moment. I am,
however, seriously thinking of getting a 2 Tb hard drive so I can do
oodles of builds and thereby experiment with my Gumstix hardware.

Only you can decide how important a backup is to you. If you want to
back up, then by all means do so.


Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
gumstix-users mailing list