diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-05 13:34:20 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2021-09-24 12:38:18 -1000 |
commit | 6737fba707917db16e317bb738c47c096454f816 (patch) | |
tree | c53cf10db22dd8b3147bf442bd36d28ff4ff0a16 | |
parent | 2dc35a3ef95da594db2051369e98e8f678848849 (diff) | |
download | bitbake-contrib-6737fba707917db16e317bb738c47c096454f816.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>
(cherry picked from commit 06a0bbe746f879ae539223e7fdb6f07d55d13719)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-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: |