[OE-core] [PATCH 1/1] devtool.py: remove fetch results from download directory to avoid failure

Richard Purdie richard.purdie at linuxfoundation.org
Mon Jan 21 09:53:36 UTC 2019


On Mon, 2019-01-21 at 17:29 +0800, Chen Qi wrote:
> The fetch results need to be removed from the download directory to
> avoid
> failures like below.
> 
>   Submodule path 'doxyport': checked out
> 'db3e1a6eb8677d3166d90d82c3068689803ce547'
> 
>   fatal: reference is not a tree:
> 67cad692720982ac3cbd99bf1c3421edc69b08f9
>   Unable to checkout '67cad692720982ac3cbd99bf1c3421edc69b08f9' in
> submodule path 'doxygen2jsdoc'
> 
>   ERROR: Function failed: base_do_unpack

I'd like to understand the problem here a bit more. My worry is that
deleting files manually from DL_DIR is bad practise, particularly if
that directory is shared between builds like on our autobuilder.

We've had similar problems with cleansstate since that can also remove
artefacts from the sstate cache which another build may be using. We
can do this only when the sstate directory is not shared.

Cheers,

Richard



More information about the Openembedded-core mailing list