[oe] Cleaning tmp folder

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Thu Mar 19 10:31:15 UTC 2009


2009/3/18 Denys Dmytriyenko <denis at denix.org>:
> On Wed, Mar 18, 2009 at 09:21:53AM +0100, Frans Meulenbroeks wrote:
>> A crude temp solution could be to just remove the stamps of all
>> non-native, non-cross packages.
>>
>> Also if you only want to reclaim space I guess it is ok to remove the
>> work subdir (or at least in my case (beagleboard) the work/arm* dir)
>> If this is not right I guess someone will correct me :-)
>>
>> Btw: it would also be nice to have a command to purge the tmp dir, so
>> if X build for r0 is there and X build for r1 is there the r0 version
>> is nuked. Never got to writing something for that though :-)
>
> Speaking of purging tmp/work - you might want to look for
> INHERIT += "rm_work", which cleans work directory for every package, after
> it's built and staged/packaged.
>

Nice, but is there a way to overrule it on the command line.
Generally I'd like to have this, but when working on a new package I
typically like to have a look at the work dir too before committing
the new recipe.

FM




More information about the Openembedded-devel mailing list