mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-10-16 03:46:59 +00:00
entrypoint-build.sh: Fix bitbake branches
bitbake uses version-numbered branches instead of release names. Use bitbake branch 2.18 for the Yocto Project release Wrynose. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
This commit is contained in:
1 parent
2e70eb716c
commit
919588393f
1 file changed
+7
-2
@@ -29,8 +29,13 @@ REPOS=" \
|
||||
https://git.yoctoproject.org/meta-yocto \
|
||||
"
|
||||
for repo in $REPOS; do
|
||||
log "Cloning $repo on branch $BASE_REF..."
|
||||
git clone --depth 1 --branch "$BASE_REF" "$repo"
|
||||
branch="$BASE_REF"
|
||||
# bitbake uses version-numbered branches instead of release names
|
||||
case "$repo:$BASE_REF" in
|
||||
*/bitbake:wrynose) branch="2.18" ;;
|
||||
esac
|
||||
log "Cloning $repo on branch $branch..."
|
||||
git clone --depth 1 --branch "$branch" "$repo"
|
||||
done
|
||||
|
||||
# shellcheck disable=SC1091,SC2240
|
||||
|
||||
Reference in new issue
Block a user