bstubert/eu-terminal-distro

ERROR - Did not find any init-build-env script

Closed this issue · 1 comments

I'm getting the following when I try to run this example:

I cloned the repo, then ran kas build eu-terminal-distro.yml

Appreciate any pointers what I might be doing wrong.

2021-10-04 11:55:45 - INFO     - /scratch/oe/eu-terminal-distro/layers/meta-toradex-demos$ git rev-parse --verify -q origin/dunfell-5.x.y
2021-10-04 11:55:45 - INFO     - f99619b2135ff939b6370be8116d66a10bc84836
2021-10-04 11:55:45 - INFO     - /scratch/oe/eu-terminal-distro/layers/meta-toradex-demos$ git checkout -q f99619b2135ff939b6370be8116d66a10bc84836 -B dunfell-5.x.y
2021-10-04 11:55:45 - INFO     - /scratch/oe/eu-terminal-distro/layers/meta-toradex-distro$ git status -s
2021-10-04 11:55:45 - INFO     - /scratch/oe/eu-terminal-distro/layers/meta-toradex-distro$ git rev-parse --verify -q origin/dunfell-5.x.y
2021-10-04 11:55:45 - INFO     - 9f52ce166e8e3c10fa0935f55b3f403085f64fa2
2021-10-04 11:55:45 - INFO     - /scratch/oe/eu-terminal-distro/layers/meta-toradex-distro$ git checkout -q 9f52ce166e8e3c10fa0935f55b3f403085f64fa2 -B dunfell-5.x.y
2021-10-04 11:55:45 - ERROR    - Did not find any init-build-env script

I never tried kas, as it runs on my host PC and can mess up things easily. I always used kas-container to run kas in a well-defined container.

When kas sets up the Yocto build environment, it runs oe-init-build-env to set the environment variables correctly. This script is located in layers/openembedded-core/oe-init-build-env.

I saw the error message when I didn't include openembedded-core in the project configuration file. You may find an earlier ERROR saying that openembedded-core could not be updated as the host could not be resolved. Please scroll up and check the earlier errors.