* Cleanup populate_sdk artefacts
@ 2020-10-09 15:16 Arthur COURTEL
2020-10-10 11:49 ` [yocto] " Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Arthur COURTEL @ 2020-10-09 15:16 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]
Hi all,
I'm working with a yocto Dunfell (3.1) on my embedded system.
I successfully built the SDK install script for my image recipe with: bitbake
my-image -c populate_sdk
However, the other day when I stopped the SDK generation before completing
(CTRL-C) and resumed it a couple of minutes after, bitbake was not able to
finish generating the SDK, saying:
*Exception: FileNotFoundError: [Errno 2] No such file or directory:
'/home/yoctouser/build/tmp/work/colibri_imx7_emmc-tdx-linux-gnueabi/my-image/1.0-r1/sdk/image/opt/machine-fb/5.0.0-devel-20200924080856+build.0/sysroots/x86_64-tdxsdk-linux/usr/lib/locale'*
I was able to determine that bitbake uses the variable DISTRO_VERSION for
building some paths during the generation.
My DISTRO_VERSION changes for each generation because it is built on
starting time generation.
I had to remove all my work folder in order for bitbake to restart the SDK
generation from scratch... Which takes some time...
Do you know if there is a way to cleanup the SDK generation properly in
case of a halt in the middle of the generation ?
Thank you for your time, have a great day!
Arthur Courtel
[-- Attachment #2: Type: text/html, Size: 1889 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [yocto] Cleanup populate_sdk artefacts
2020-10-09 15:16 Cleanup populate_sdk artefacts Arthur COURTEL
@ 2020-10-10 11:49 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2020-10-10 11:49 UTC (permalink / raw)
To: Arthur COURTEL, yocto
On Fri, 2020-10-09 at 17:16 +0200, Arthur COURTEL wrote:
> Hi all,
>
> I'm working with a yocto Dunfell (3.1) on my embedded system.
> I successfully built the SDK install script for my image recipe
> with: bitbake my-image -c populate_sdk
> However, the other day when I stopped the SDK generation before
> completing (CTRL-C) and resumed it a couple of minutes after, bitbake
> was not able to finish generating the SDK, saying:
>
> Exception: FileNotFoundError: [Errno 2] No such file or directory:
> '/home/yoctouser/build/tmp/work/colibri_imx7_emmc-tdx-linux-
> gnueabi/my-image/1.0-r1/sdk/image/opt/machine-fb/5.0.0-devel-
> 20200924080856+build.0/sysroots/x86_64-tdxsdk-linux/usr/lib/locale'
>
> I was able to determine that bitbake uses the variable DISTRO_VERSION
> for building some paths during the generation.
> My DISTRO_VERSION changes for each generation because it is built on
> starting time generation.
> I had to remove all my work folder in order for bitbake to restart
> the SDK generation from scratch... Which takes some time...
>
> Do you know if there is a way to cleanup the SDK generation properly
> in case of a halt in the middle of the generation ?
>
> Thank you for your time, have a great day!
bitbake <target name> -c clean
should clean up that kind of issue and allow it to continue.
Cheers,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-10 11:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-09 15:16 Cleanup populate_sdk artefacts Arthur COURTEL
2020-10-10 11:49 ` [yocto] " Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.