mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 22:39:49 +02:00
scripts: Show sensible warning messages if expected binaries don't exist
[YOCTO #1438] (From OE-Core rev: 6b5706d1f9ce7a3fd4d8f819ff8f3fd789665647) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
if [ -z "$OECORE_NATIVE_SYSROOT" ]; then
|
||||
BITBAKE=`which bitbake`
|
||||
BITBAKE=`which bitbake 2> /dev/null`
|
||||
if [ "x$BITBAKE" != "x" ]; then
|
||||
if [ "$UID" = "0" ]; then
|
||||
# Root cannot run bitbake unless sanity checking is disabled
|
||||
|
||||
Reference in New Issue
Block a user