[yocto] Cleaning out build without re-downloading sources

ChenQi Qi.Chen at windriver.com
Wed Aug 22 18:54:20 PDT 2018


On 08/22/2018 11:28 PM, Paul Sheer wrote:
>
>
>
>     There is a separate directory, which is usually downloads/ under
>     the build directory, to keep downloaded git repos and tarballs.
>
>     [network]  ---> [downloads] ---> [tmp/work/xxxx]
>
>     So you don't have to worry about the downloading when you clean up
>     tmp/.
>
>     Best Regards,
>     Chen Qi
>
>
>
> Thanks.
>
> So, if my directories look as below, which should get a rm -rf  ?
>

The tmp/ directory.

Best Regards,
Chen Qi

> paul at pauls-machine:~/my-yocto$ ls -la
> total 72
> drwxrwxr-x  8 paul paul  4096 Aug 21 17:33 .
> drwxrwxr-x 15 paul paul  4096 Aug 21 16:55 ..
> -rw-rw-r--  1 paul paul     0 Aug 21 16:57 bitbake.lock
> drwxrwxr-x  2 paul paul  4096 Aug 22 10:14 cache
> drwxrwxr-x  2 paul paul  4096 Aug 21 16:57 conf
> drwxrwxr-x  7 paul paul 36864 Aug 22 10:23 downloads
> drwxrwxr-x 71 paul paul  4096 Aug 22 10:23 sstate-cache
> drwxrwxr-x 11 paul paul  4096 Aug 21 17:57 tmp
>
> Paul
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180823/3f755b02/attachment.html>


More information about the yocto mailing list