yocto-builder/entrypoint-build.sh: Replace Poky

Following the recent major breaking change with the introduction of
bitbake-setup because of which the Poky repository master branch is
no longer being updated, the Poky git repository has to be replaced
by bitbake, openembedded-core and meta-yocto which provides layers
meta-poky and meta-yocto-bsp. This fixes the GitHub workflows with
branch master of meta-raspberrypi and allows running auto checks.

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
This commit is contained in:
Leon Anavi
2025-11-17 16:41:47 +02:00
committed by Andrei Gherzan
parent 161be949b9
commit 9806b9981a

View File

@@ -24,7 +24,9 @@ TEMP_DIR="$(mktemp -d)"
cd "$TEMP_DIR" cd "$TEMP_DIR"
REPOS=" \ REPOS=" \
git://git.yoctoproject.org/poky.git \ git://git.openembedded.org/openembedded-core \
git://git.openembedded.org/bitbake \
git://git.yoctoproject.org/meta-yocto \
" "
for repo in $REPOS; do for repo in $REPOS; do
log "Cloning $repo on branch $BASE_REF..." log "Cloning $repo on branch $BASE_REF..."
@@ -32,7 +34,7 @@ for repo in $REPOS; do
done done
# shellcheck disable=SC1091,SC2240 # shellcheck disable=SC1091,SC2240
. ./poky/oe-init-build-env build . ./openembedded-core/oe-init-build-env build
# Build configuration # Build configuration
printf "\n# ------ ci ------\n" >> conf/local.conf printf "\n# ------ ci ------\n" >> conf/local.conf
@@ -52,6 +54,8 @@ LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"
EOCONF EOCONF
# Add the BSP layer # Add the BSP layer
bitbake-layers add-layer "../meta-yocto/meta-poky"
bitbake-layers add-layer "../meta-yocto/meta-yocto-bsp"
bitbake-layers add-layer "$META_RASPBERRYPI_PATH" bitbake-layers add-layer "$META_RASPBERRYPI_PATH"
# Log configs for debugging purposes # Log configs for debugging purposes