-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build yocto: cleanup #41
Build yocto: cleanup #41
Conversation
142735c
to
bde7ab6
Compare
5e45439
to
f3f43b4
Compare
.github/workflows/build-yocto.yml
Outdated
export PERSISTENT_DIR=/srv/gh-runners/quic-yocto | ||
export DL_DIR=${PERSISTENT_DIR}/downloads | ||
export SSTATE_DIR=${PERSISTENT_DIR}/sstate-cache | ||
export KAS_BUILD_DIR=$(realpath $PWD/..)/build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is actually better to set KAS_WORK_DIR instead (KAS_BUILD_DIR is ${KAS_WORK_DIR}/build), that way it also clones the other repos outside the folder where kas build gets called (which is this repo).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I moved it to the outside of the repo ../kas
, one dir node above.
f3f43b4
to
36096a5
Compare
Also changed from PERSISTENT_DIR to CACHE_DIR because the first is already part of bitbake. |
9d29f2d
to
afb7d39
Compare
This variable will point to the persistent cache storage. Signed-off-by: Jose Quaresma <[email protected]>
afb7d39
to
71e3794
Compare
Set the KAS_WORK_DIR to a folder outside the repo. Remove the build dir as it will be created by the oe-init-build-env script and also the DL_DIR and SSTATE_DIR will be crated by bitbake if needed. Signed-off-by: Jose Quaresma <[email protected]>
71e3794
to
6690562
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.