Skip to contentSkip to conversation

Dev Manual, "5.16 Sharing Files Between Recipes", does not define /sysroot-only

DISCUSSION [email protected] 3 participants 3 messages Oct 15, 2023 – Oct 16, 2023

lore
Share & tools
lore
#1 lore raw

What I think this means is that placing items into ${D}/sysroot-only/ at do_install() will not package those in do_package() at all, but will still provide the items in sysroots of dependent recipes.

Alex

Quoted 27 lines · Robert P. J. Day

Here:

https://docs.yoctoproject.org/dev-manual/new-recipe.html#sharing-files-between-recipes

the Note reads:

"The /sysroot-only is to be used by recipes that generate artifacts that are not
included in the target filesystem, allowing them to share these artifacts without
needing to use the DEPLOY_DIR."

Except there does not appear to be any explanation of what "/sysroot-only" means
earlier in that manual.

rday

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

#2 lore raw
Quoted 3 lines · Alexander Kanavin

What I think this means is that placing items into ${D}/sysroot-only/ at do_install() will not package those in do_package() at all, but will still provide the items in sysroots of dependent recipes.

FWIW I'd prefer people don't use/rely on this. It was added due to very specific use cases. Now it was added, people want docs and I can understand that but we should be clear this is for exception circumstances only.

Cheers,

Richard