diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-23 21:48:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-27 22:52:08 +0000 |
commit | 7943caf90cb667660682e5768123e6bd233e12db (patch) | |
tree | 5a61ed39c786216a013dbb206a738869f6cc6936 /bitbake/lib/bb | |
parent | 2696bf8cf35ca51b5147f6d462a1a9acea63097a (diff) | |
download | poky-7943caf90cb667660682e5768123e6bd233e12db.tar.gz |
bitbake: ui/ncurses: Add missing function call to avoid traceback
The ncurses UI wasn't working due to a missing function call. Add it
to avoid a traceback when starting builds.
(Bitbake rev: db8f36b69a68de2179e5685cf24a42ec10d68257)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/ui/ncurses.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/ncurses.py b/bitbake/lib/bb/ui/ncurses.py index cf1c876a51..18a706547a 100644 --- a/bitbake/lib/bb/ui/ncurses.py +++ b/bitbake/lib/bb/ui/ncurses.py | |||
@@ -227,6 +227,9 @@ class NCursesUI: | |||
227 | shutdown = 0 | 227 | shutdown = 0 |
228 | 228 | ||
229 | try: | 229 | try: |
230 | if not params.observe_only: | ||
231 | params.updateToServer(server, os.environ.copy()) | ||
232 | |||
230 | params.updateFromServer(server) | 233 | params.updateFromServer(server) |
231 | cmdline = params.parseActions() | 234 | cmdline = params.parseActions() |
232 | if not cmdline: | 235 | if not cmdline: |