Skip to content
Commit 9ed5d67d authored by Dorinda's avatar Dorinda Committed by Steve Sakoman
Browse files

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]

Signed-off-by: default avatarDorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e0879991)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent a20b0f80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment