mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
Currently if you run bitbake in an invalid directory, the user experience
is poor:
birbake/lib/bb/main.py", line 427, in setup_bitbake
topdir, lock = lockBitbake()
File "./bitbake/lib/bb/main.py", line 494, in lockBitbake
lockfile = topdir + "/bitbake.lock"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
This ensures we exit straight away with a better error message.
[YOCTO #12163]
(Bitbake rev: 2a931d5e4ac092ce275f3a51e22b802689f511e6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>