summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/spdx_common.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/spdx_common.py b/meta/lib/oe/spdx_common.py
index 1ea55419ae..7a85579f64 100644
--- a/meta/lib/oe/spdx_common.py
+++ b/meta/lib/oe/spdx_common.py
@@ -226,6 +226,10 @@ def get_patched_src(d):
226 d.setVar("WORKDIR", workdir) 226 d.setVar("WORKDIR", workdir)
227 227
228 228
229def has_task(d, task):
230 return bool(d.getVarFlag(task, "task", False)) and not bool(d.getVarFlag(task, "noexec", False))
231
232
229def fetch_data_to_uri(fd, name): 233def fetch_data_to_uri(fd, name):
230 """ 234 """
231 Translates a bitbake FetchData to a string URI 235 Translates a bitbake FetchData to a string URI