aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-30 13:38:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-30 14:07:47 +0100
commitaf3c8928a69f204d5ced02c947485990ac04a776 (patch)
tree8fa6b92caffb0ae582162043842567930f77306f /lib/bb/cooker.py
parent8a60106c6f7d586c793b965c5e9460b6016fab15 (diff)
downloadbitbake-contrib-af3c8928a69f204d5ced02c947485990ac04a776.tar.gz
command: Fix some bugs identified by BB_SERVER_TIMEOUT
The 'needconfig' flag was meant to be the default as most commands do need it and the "False" cases were the exception. The code was written backwards with a default False value. Invert this to match the intent, resulting in the config being reparsed if metadata has changed. Also ensure the second level configuration is parsed for the getLayerPriorities command as otherwise it can return stale info. With these changes: BB_SERVER_TIMEOUT=100 oe-selftest -r bblayers.BitbakeLayers.test_bitbakelayers_add_remove passes instead of fails. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
0 files changed, 0 insertions, 0 deletions