Skip to content

Commit

Permalink
fix: GitHub Actions: add site.conf support
Browse files Browse the repository at this point in the history
If a site.conf file exists in the assets directory,
copy it into the build configuration directory. This
allows to inject build host specific additions to the bitbake
environment without committing those to a repository

Signed-off-by: TheYoctoJester <[email protected]>
  • Loading branch information
TheYoctoJester committed Sep 9, 2024
1 parent d44de7d commit 8c24d5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,7 @@ jobs:
mkdir -p $BUILDDIR/${{ matrix.board }} &&
cd $BUILDDIR/${{ matrix.board }} &&
kas checkout ../../kas/${{ matrix.subpath }}/${{ matrix.board }}.yml &&
if [ -f "${{ vars.BUILD_ASSETS_DIR }}/site.conf" ]; then
cp ${{ vars.BUILD_ASSETS_DIR }}/site.conf build/conf/site.conf;
fi &&
kas build ../../kas/${{ matrix.subpath }}/${{ matrix.board }}.yml

0 comments on commit 8c24d5e

Please sign in to comment.