All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] runqueue: Fix runall option handling
@ 2021-11-08 16:28 Richard Purdie
  2021-11-08 18:37 ` [bitbake-devel] " Peter Kjellerstedt
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2021-11-08 16:28 UTC (permalink / raw)
  To: bitbake-devel

The previous fix for runall option handling had a small but in it, it
didn't clear the originally processed task list which meant it was running
too many tasks. Fix this so the list is reset and rebuild correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/runqueue.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 7d4cbed775..957c2d1806 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -933,6 +933,7 @@ class RunQueueData:
             for tid in list(self.runtaskentries.keys()):
                 if tid not in runq_build:
                    reduced_tasklist.remove(tid)
+            runq_build = {}
 
             for task in self.cooker.configuration.runall:
                 if not task.startswith("do_"):
-- 
2.32.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [bitbake-devel] [PATCH] runqueue: Fix runall option handling
  2021-11-08 16:28 [PATCH] runqueue: Fix runall option handling Richard Purdie
@ 2021-11-08 18:37 ` Peter Kjellerstedt
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Kjellerstedt @ 2021-11-08 18:37 UTC (permalink / raw)
  To: Richard Purdie, bitbake-devel@lists.openembedded.org

> -----Original Message-----
> From: bitbake-devel@lists.openembedded.org <bitbake-
> devel@lists.openembedded.org> On Behalf Of Richard Purdie
> Sent: den 8 november 2021 17:28
> To: bitbake-devel@lists.openembedded.org
> Subject: [bitbake-devel] [PATCH] runqueue: Fix runall option handling
> 
> The previous fix for runall option handling had a small but in it, it

Typo: but -> bug

//Peter

> didn't clear the originally processed task list which meant it was running
> too many tasks. Fix this so the list is reset and rebuild correctly.
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>  lib/bb/runqueue.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
> index 7d4cbed775..957c2d1806 100644
> --- a/lib/bb/runqueue.py
> +++ b/lib/bb/runqueue.py
> @@ -933,6 +933,7 @@ class RunQueueData:
>              for tid in list(self.runtaskentries.keys()):
>                  if tid not in runq_build:
>                     reduced_tasklist.remove(tid)
> +            runq_build = {}
> 
>              for task in self.cooker.configuration.runall:
>                  if not task.startswith("do_"):
> --
> 2.32.0



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-08 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-08 16:28 [PATCH] runqueue: Fix runall option handling Richard Purdie
2021-11-08 18:37 ` [bitbake-devel] " Peter Kjellerstedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.