diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-21 12:50:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-31 09:09:27 +0000 |
commit | f7b90ab3eaf832bd81f3efc1dab4dcf6863ac284 (patch) | |
tree | 1e75d2c8bd68630e3387cf6409774bf031a0fc4d /scripts/lib/wic/canned-wks/directdisk-bootloader-config.cfg | |
parent | 7226a1c6003ddc06af620026a212726d60eaf794 (diff) | |
download | poky-f7b90ab3eaf832bd81f3efc1dab4dcf6863ac284.tar.gz |
bitbake: main: Give a user readable error if we can't locate topdir
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>
Diffstat (limited to 'scripts/lib/wic/canned-wks/directdisk-bootloader-config.cfg')
0 files changed, 0 insertions, 0 deletions