Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Documentation improvements needed #25

Open
pietrushnic opened this issue Oct 5, 2018 · 3 comments
Open

Documentation improvements needed #25

pietrushnic opened this issue Oct 5, 2018 · 3 comments
Assignees

Comments

@pietrushnic
Copy link
Member

For example, I get information about building some meta layer e.g. meta-virtualization, that information requires me to correctly modify bblayers.conf but because I'm not sure how everything is mounted inside the container I'm not sure how to modify paths to layers.

Second thing is that build directory appears after sourcing oe-init-build-env what means after the first call of yocto-docker container, before that call, there is no infrastructure to modify build/conf files. Any idea what we can do about that? It confused me when getting back to that project after some time.

@macpijan
Copy link
Member

macpijan commented Oct 6, 2018

@pietrushnic
Ad.1 Originally we mounted $PWD:$PWD in order to preserve paths from the host so you would not need to wonder and just provide the host paths: https://github.com/3mdeb/yocto-docker/blob/master/docker-bake.sh#L52

Ad.2 Yes, that is how the YP works. Maybe link to documentation: https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#structure-core-script

@pietrushnic
Copy link
Member Author

@macpijan I think that behavior may surprise new users, we should make sure that trying this project is seamless. Having above assumptions can scare some users - most people will not take time to figure out what is going on. IMO we should have most simple real life scenario from scratch in README. What you think?

@macpijan macpijan assigned TomaszAIR and unassigned macpijan Sep 26, 2022
@macpijan
Copy link
Member

@TomaszAIR Please take a look at it. I'm not sure if we still e this container and if this issue is still valid.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants