mirror of
https://github.com/agherzan/meta-raspberrypi.git
synced 2025-12-06 06:19:11 +00:00
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:
committed by
Andrei Gherzan
parent
161be949b9
commit
9806b9981a
@@ -24,7 +24,9 @@ TEMP_DIR="$(mktemp -d)"
|
||||
cd "$TEMP_DIR"
|
||||
|
||||
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
|
||||
log "Cloning $repo on branch $BASE_REF..."
|
||||
@@ -32,7 +34,7 @@ for repo in $REPOS; do
|
||||
done
|
||||
|
||||
# shellcheck disable=SC1091,SC2240
|
||||
. ./poky/oe-init-build-env build
|
||||
. ./openembedded-core/oe-init-build-env build
|
||||
|
||||
# Build configuration
|
||||
printf "\n# ------ ci ------\n" >> conf/local.conf
|
||||
@@ -52,6 +54,8 @@ LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"
|
||||
EOCONF
|
||||
|
||||
# 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"
|
||||
|
||||
# Log configs for debugging purposes
|
||||
|
||||
Reference in New Issue
Block a user