Skip to contentSkip to conversation

best way to purge stale packages?

DISCUSSION Bob Cochran 2 participants 3 messages Jun 1, 2012

lore
Share & tools
lore
#0 lore raw

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?

Thanks,

Bob

#1 lore raw
Quoted 9 lines · Bob Cochran

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

#2 lore raw
Quoted 8 lines · On 06/01/2012 03:27 PM, McClintock Matthew-B29882 wrote:
Quoted 7 lines · Bob Cochran

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.

Quoted 7 lines
Quoted 2 lines

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