summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/bitbake-user-manual/html.css
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-10-19 16:32:21 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-10-31 09:09:27 +0000
commit7226a1c6003ddc06af620026a212726d60eaf794 (patch)
treecd8a2e3c364f5712d616948eb317043c487fcc4c /bitbake/doc/bitbake-user-manual/html.css
parentca5bb8224f0f0600464c990a7421ee0e89031628 (diff)
downloadpoky-7226a1c6003ddc06af620026a212726d60eaf794.tar.gz
bitbake: cooker: fix watching directories with Python 3.6+
In Python 3.6, glob.glob() was reimplemented to use os.scandir() (which itself appeared in Python 3.5), thus our monkey patching of os.listdir() here was no longer effective. The end result was not only that bitbake wouldn't notice added recipes or bbappends with BB_SERVER_TIMEOUT set when being run with Python 3.6 (the shipped Python version on Fedora 26 and some other distribution versions), it also broke devtool modify, devtool upgrade and devtool extract since they rely on the ability to create a bbappend on the fly and have bitbake pick it up. To fix it, do the same monkey patching for os.scandir(), which needs to be conditional upon that actually existing since we have to support Python 3.4 that doesn't have it. Long term we should probably look for a better way to handle this that doesn't involve monkey patching Python library code. Fixes [YOCTO #12185]. (Bitbake rev: d57c4718a3a1eb7b8397085c307fcb0bec6454ef) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/html.css')
0 files changed, 0 insertions, 0 deletions