diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /scripts/yocto-check-layer-wrapper | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz | |
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
b) use the new bitbake-setup
You can find information about either approach in our documentation:
https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/yocto-check-layer-wrapper')
| -rwxr-xr-x | scripts/yocto-check-layer-wrapper | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/scripts/yocto-check-layer-wrapper b/scripts/yocto-check-layer-wrapper deleted file mode 100755 index 2e3b699031..0000000000 --- a/scripts/yocto-check-layer-wrapper +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | #!/usr/bin/env bash | ||
| 2 | |||
| 3 | # Yocto Project layer check tool wrapper | ||
| 4 | # | ||
| 5 | # Creates a temporary build directory to run the yocto-check-layer | ||
| 6 | # script to avoid a contaminated environment. | ||
| 7 | # | ||
| 8 | # Copyright (C) 2017 Intel Corporation | ||
| 9 | # | ||
| 10 | # SPDX-License-Identifier: MIT | ||
| 11 | # | ||
| 12 | |||
| 13 | if [ -z "$BUILDDIR" ]; then | ||
| 14 | echo "Please source oe-init-build-env before run this script." | ||
| 15 | exit 2 | ||
| 16 | fi | ||
| 17 | |||
| 18 | # since we are using a temp directory, use the realpath for output | ||
| 19 | # log option | ||
| 20 | output_log='' | ||
| 21 | while getopts o: name | ||
| 22 | do | ||
| 23 | case $name in | ||
| 24 | o) output_log=$(realpath "$OPTARG") | ||
| 25 | esac | ||
| 26 | done | ||
| 27 | shift $(($OPTIND - 1)) | ||
| 28 | |||
| 29 | # generate a temp directory to run check layer script | ||
| 30 | base_dir=$(realpath $BUILDDIR/../) | ||
| 31 | cd $base_dir | ||
| 32 | |||
| 33 | build_dir=$(mktemp -p $base_dir -d -t build-XXXX) | ||
| 34 | |||
| 35 | this_dir=$(dirname $(readlink -f $0)) | ||
| 36 | |||
| 37 | source $this_dir/../oe-init-build-env $build_dir | ||
| 38 | if [[ $output_log != '' ]]; then | ||
| 39 | yocto-check-layer -o "$output_log" "$*" | ||
| 40 | else | ||
| 41 | yocto-check-layer "$@" | ||
| 42 | fi | ||
| 43 | retcode=$? | ||
| 44 | |||
| 45 | rm -rf $build_dir | ||
| 46 | |||
| 47 | exit $retcode | ||
