[poky] best way to purge stale packages?

Bob Cochran yocto at mindchasers.com
Fri Jun 1 14:58:10 PDT 2012


On 06/01/2012 03:27 PM, McClintock Matthew-B29882 wrote:
> On Fri, Jun 1, 2012 at 1:05 PM, Bob Cochran<yocto at mindchasers.com>  wrote:
>> Hello,
>>
>> Inside my work directory, I have three versions of openssl:
>> openssl-1.0.0i-r15.2, openssl-1.0.0i-r0.1, and openssl-1.0.0h-r15.1, with
>> the latter two being stale.  I also have artifacts from these stale packages
>> in tmp/stamps.
>>
>> I haven't come along a bitbake option or ancillary script to remove stale
>> packages as my recipes bump.  Is there one?
>
> ./scripts/cleanup-workdir ?
>
> -M
>


Thanks Matthew.  I didn't notice that was added back in March.  Very cool.

I'm going to read through the source before trying since I see that 
Andreas sent out an email on 4/12 on the OE list pointing out a few 
problems he had.

I'll report back if I get good results or not.  I have been working from 
the same build directory for a couple of months from the master branch, 
so my build dir should be a decent test case.

Thanks again,

Bob




More information about the poky mailing list