mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2026-01-27 11:01:24 +01:00
With the addition of bitbake-setup to the master branch, we can switch from using the combo-layer built poky repository to using bitbake-setup instead. This patch set changes the setup to use bitbake/oecore/meta-yocto/yocto-docs instead of poky. Most of the changes are due to the new layer layout, or using bitbake-setuip instead of scripts in helper. The existing scripts are still run for now to handle layers not in the core configuration json. We continue to write extra settings to auto.conf. This switches the code to use the distro/machine selection from fragments. We need to use init-build-env instead of oe-init-build-env in most cases. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
391 B
Executable File
391 B
Executable File
#!/bin/bash
SPDX-License-Identifier: GPL-2.0-only
Called with $1 as the path to poky
set -e set -u set -o pipefail set -x
oecoredir=$(realpath "$1")/layers/openembedded-core/
python3 -m venv venv --without-pip --system-site-packages source venv/bin/activate python3 -m pip install -r $oecoredir/meta/lib/patchtest/requirements.txt
$oecoredir/meta/lib/patchtest/selftest/selftest