summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/runqueue.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 13062630c0..84b268580f 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -265,6 +265,7 @@ class RunQueueData:
265 self.stampwhitelist = cfgData.getVar("BB_STAMP_WHITELIST", True) or "" 265 self.stampwhitelist = cfgData.getVar("BB_STAMP_WHITELIST", True) or ""
266 self.multi_provider_whitelist = (cfgData.getVar("MULTI_PROVIDER_WHITELIST", True) or "").split() 266 self.multi_provider_whitelist = (cfgData.getVar("MULTI_PROVIDER_WHITELIST", True) or "").split()
267 self.setscenewhitelist = get_setscene_enforce_whitelist(cfgData) 267 self.setscenewhitelist = get_setscene_enforce_whitelist(cfgData)
268 self.setscenewhitelist_checked = False
268 self.init_progress_reporter = bb.progress.DummyMultiStageProcessProgressReporter() 269 self.init_progress_reporter = bb.progress.DummyMultiStageProcessProgressReporter()
269 270
270 self.reset() 271 self.reset()
@@ -1701,7 +1702,9 @@ class RunQueueExecuteTasks(RunQueueExecute):
1701 Run the tasks in a queue prepared by rqdata.prepare() 1702 Run the tasks in a queue prepared by rqdata.prepare()
1702 """ 1703 """
1703 1704
1704 if self.rqdata.setscenewhitelist: 1705 if self.rqdata.setscenewhitelist and not self.rqdata.setscenewhitelist_checked:
1706 self.rqdata.setscenewhitelist_checked = True
1707
1705 # Check tasks that are going to run against the whitelist 1708 # Check tasks that are going to run against the whitelist
1706 def check_norun_task(tid, showerror=False): 1709 def check_norun_task(tid, showerror=False):
1707 (mc, fn, taskname, _) = split_tid_mcfn(tid) 1710 (mc, fn, taskname, _) = split_tid_mcfn(tid)