Skip to contentSkip to conversation

Force Yocto to use sstate-cache

DISCUSSION Aleksandar Nikolic 2 participants 2 messages Sep 27, 2024

lore
Share & tools
lore
#0 lore raw

Hello,

is there a way to force Yocto to use sstate-cache during the build and fail/print warnings if some recipes try to build from source?

Aleksandar

#1 lore raw

Hi,

Aleksandar Nikolic via lists.yoctoproject.org <aleksandar.nikolic010= [email protected]> escreveu (sexta, 27/09/2024 à(s) 09:06):

Quoted 5 lines

Hello,

is there a way to force Yocto to use sstate-cache during the build and fail/print warnings if some recipes try to build from source?

There is no specific command for this but you can do something like:

bitbake TARGET --setscene-only
bitbake TARGET --dry-run
less */log/cooker/*/console-latest.log

With the less you can see the missing pieces that need to be executed.

Jose

Quoted 14 lines

Aleksandar

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#63902):
https://lists.yoctoproject.org/g/yocto/message/63902
Mute This Topic: https://lists.yoctoproject.org/mt/108682782/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma