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:45 +0100 |
commit | 06a0bbe746f879ae539223e7fdb6f07d55d13719 (patch) | |
tree | 3e07a82734be14944bbbd7950ed42774daed8f73 /lib | |
parent | cc1df1af67cfd3e223b39e2b7ea5f86b8cf78aee (diff) | |
download | bitbake-06a0bbe746f879ae539223e7fdb6f07d55d13719.tar.gz |
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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/ui/taskexp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/ui/taskexp.py b/lib/bb/ui/taskexp.py index 81392977a..c00eaf663 100644 --- a/lib/bb/ui/taskexp.py +++ b/lib/bb/ui/taskexp.py @@ -197,6 +197,7 @@ def main(server, eventHandler, params): gtkgui.start() try: + params.updateToServer(server, os.environ.copy()) params.updateFromServer(server) cmdline = params.parseActions() if not cmdline: |