diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-05 13:34:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-06 06:34:58 +0100 |
commit | 5f4e335c8ee25f97ad47a4df2e7f0b6e8967e89a (patch) | |
tree | 6eca7d255ee1720292dd307245fea586d6a1a640 /bitbake/lib | |
parent | 0e3c7594cb636aae89d47a66ffc003f06a20fa95 (diff) | |
download | poky-5f4e335c8ee25f97ad47a4df2e7f0b6e8967e89a.tar.gz |
bitbake: ui/taskexp: Fix to work with empty build directories
If run on an empty build directory, taskexp wasn't working as it didn't
send the current environment to the server. This means HOSTTOOLS in oe-core
couldn't be built and gave an error. Add the missing updateToServer call in.
[YOCTO #14408]
(Bitbake rev: 06a0bbe746f879ae539223e7fdb6f07d55d13719)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/taskexp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/taskexp.py b/bitbake/lib/bb/ui/taskexp.py index 81392977a0..c00eaf6638 100644 --- a/bitbake/lib/bb/ui/taskexp.py +++ b/bitbake/lib/bb/ui/taskexp.py | |||
@@ -197,6 +197,7 @@ def main(server, eventHandler, params): | |||
197 | gtkgui.start() | 197 | gtkgui.start() |
198 | 198 | ||
199 | try: | 199 | try: |
200 | params.updateToServer(server, os.environ.copy()) | ||
200 | params.updateFromServer(server) | 201 | params.updateFromServer(server) |
201 | cmdline = params.parseActions() | 202 | cmdline = params.parseActions() |
202 | if not cmdline: | 203 | if not cmdline: |