docs: clarify container command wrapper workflows#522
Conversation
Document how to use wrapper scripts for running BitBake commands inside already-running containers or Makefile-driven container setups.
|
This documentation update is intended to capture the currently documented workaround direction for advanced container setups discussed in issues like #450, #415, and #416. I avoided changing runtime behavior here and kept the PR focused on |
deribaucourt
left a comment
There was a problem hiding this comment.
I don't think this documentation is part of the scope of this extension. The extension doesn't provide guidance on executing Yocto within a reproducible docker or scripted environment. Since many users do, we provide features to integrate with it, but we don't aim to help people set it up. Several technologies exist, but the only official one is oe-init-build-env, which is the default and most documented approach for our settings.
The only responsibility of this extension is to document how to configure it for docker for the users who will need it. I think the current wrappers cover the most common use cases allready.
Also we absolutely won't recommend invoking bitbake under Makefile. Please don't do this. Users who unfortunately inherited from such a setup can refer to some issues discussions which describe possible approaches like this one.
So far I'm not convinced in keeping any of this PR for the reasons above. Do you identify a particular lack of documentation that would fall in the scope described above
|
Thanks for the clear scope boundary. That makes sense. I’ll close this PR rather than keep pushing documentation that goes beyond the extension’s responsibility. For future documentation contributions, I’ll keep the focus on how to configure extension features themselves, rather than guidance for setting up Yocto/container/Makefile-based environments. |
Summary
Document advanced
bitbake.commandWrapperworkflows for container-based setups.This adds examples for:
docker execValidation