1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 13:29:49 +00:00

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: 6737fba707917db16e317bb738c47c096454f816)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 06a0bbe746f879ae539223e7fdb6f07d55d13719)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2021-08-05 13:34:20 +01:00
parent 7af78d74ef
commit f7e64d59cb
+1
View File
@@ -197,6 +197,7 @@ def main(server, eventHandler, params):
gtkgui.start() gtkgui.start()
try: try:
params.updateToServer(server, os.environ.copy())
params.updateFromServer(server) params.updateFromServer(server)
cmdline = params.parseActions() cmdline = params.parseActions()
if not cmdline: if not cmdline: