diff options
author | Dorinda <dorindabassey@gmail.com> | 2021-01-26 02:33:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-05 23:37:03 +0000 |
commit | f2dfdc94adfcd85533d591c332b6272595a62f31 (patch) | |
tree | ef51c2556d1c594e487e8167685b92909315c909 /meta/lib/oeqa/oetest.py | |
parent | f3828150832cc8d888add8f5e6a7a16c5ef47892 (diff) | |
download | poky-f2dfdc94adfcd85533d591c332b6272595a62f31.tar.gz |
sanity.bbclass: sanity check for if bitbake is present in PATH
If a user executes the environment script instead of sourcing it,
there's an error about an empty element in PATH. This is because
bitbake isn't present in environment variable PATH. Hence, this
patch adds a sanity check to verify if bitbake is present in
PATH and if bitbake isn't present issue a warning message.
[YOCTO #13822]
(From OE-Core rev: 9ed5d67d5d50f97072b6054ce913a3f5d981335e)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e08799913a7f207bc63e085eb98196fd61ed57bc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/oetest.py')
0 files changed, 0 insertions, 0 deletions