diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-06 00:34:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-02-06 19:29:38 +0300 |
commit | 3da1114f83209dd25b2821d2eb3f9024c66ca506 (patch) | |
tree | c029add9948c9eb64ae66d8026fc9cd80b9f1d4e /poky/bitbake | |
parent | 56d83cea5958511e88b3ce38ecd3235ac0624725 (diff) | |
download | openbmc-3da1114f83209dd25b2821d2eb3f9024c66ca506.tar.xz |
bitbake: server/process: Add missing exception raise
The intent of the code was to catch one kind of error, it was actually swallowing
all exceptions and looping indefinitely. Fix it to work as intended.
This explains some mystery hangs we've been seeing.
(Bitbake rev: d89358c7b8aa69f12b8c384c4fdb493782633494)
(From poky rev: 1d987b98ed9ee95239f966ce990c119531e95d88)
Change-Id: I78540176a395b5051a8661e5a069dfba7041a6f8
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'poky/bitbake')
-rw-r--r-- | poky/bitbake/lib/bb/server/process.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/poky/bitbake/lib/bb/server/process.py b/poky/bitbake/lib/bb/server/process.py index 28b8eb9b8..80a7875ad 100644 --- a/poky/bitbake/lib/bb/server/process.py +++ b/poky/bitbake/lib/bb/server/process.py @@ -499,6 +499,7 @@ def connectProcessServer(sockname, featureset): except IOError as e: if e.errno == errno.EWOULDBLOCK: pass + raise finally: os.chdir(cwd) |