[OE-core] cleanup-workdir

Kang Kai Kai.Kang at windriver.com
Fri Apr 13 01:49:53 UTC 2012


On 2012年04月13日 02:47, Andreas Oberritter wrote:
> Hello Kai,
>
> because I was low on disk space, I just tried scripts/cleanup-workdir
> for the first time. My observations:

Hi Andreas,
  

> 1.) It deletes work directories that were built for other machines
> (archs) than the current one. I guess the list of architectures to
> handle should be queried from bitbake to avoid this.
Do you mean that you build for 2 archs under the same "build" directory?
Even in this way the script only delete the packages' build dir for old 
versions.
Your requirement is that cleanup-workdir just clean the build dirs for 
current arch, right?

> 2.) It doesn't delete work directories of previously deleted recipes.
Because when the recipe gone, I can NOT tell whether the directory is 
left by bitbake or created by user.
I will list them and let user to choose delete them or not.

Regards,
Kai
>
> Regards,
> Andreas





More information about the Openembedded-core mailing list