diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index f1fbe3313c..1e4b51e35e 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -479,7 +479,14 @@ def connectProcessServer(sockname, featureset): | |||
479 | try: | 479 | try: |
480 | try: | 480 | try: |
481 | os.chdir(os.path.dirname(sockname)) | 481 | os.chdir(os.path.dirname(sockname)) |
482 | sock.connect(os.path.basename(sockname)) | 482 | finished = False |
483 | while not finished: | ||
484 | try: | ||
485 | sock.connect(os.path.basename(sockname)) | ||
486 | finished = True | ||
487 | except IOError as e: | ||
488 | if e.errno == errno.EWOULDBLOCK: | ||
489 | pass | ||
483 | finally: | 490 | finally: |
484 | os.chdir(cwd) | 491 | os.chdir(cwd) |
485 | 492 | ||