Skip to content
Snippets Groups Projects

handle duplicate URIs and recipes with no URIs

Merged Alberto Pianon requested to merge ap/duplicate-uris into main
Files
3
+ 10
0
@@ -26,6 +26,11 @@ python bbtracer_unpack_task_postfunc () {
except ImportError:
bb.fatal("bbtracer: bitbake version does not support unpack tracing,"
" please upgrade")
src_uris = d.getVar("SRC_URI").split()
if not src_uris:
bb.debug(1, "bbtracer: no SRC_URI entries found, skipping"
" bbtracer_unpack_task_postfunc")
return
unpackdir = d.getVar("WORKDIR")
skip_file = d.getVar("BBTRACER_UNPACK_SKIPFILE")
if os.path.exists(skip_file):
@@ -81,6 +86,11 @@ python do_traceunpack () {
bb.debug(
1, "bbtracer: do_unpack task not found, skipping do_traceunpack")
return
src_uris = d.getVar("SRC_URI").split()
if not src_uris:
bb.debug(
1, "bbtracer: no SRC_URI entries found, skipping do_traceunpack")
return
import os
if not os.path.exists(d.getVar("BBTRACER_UNPACK_JSON")):
bb.fatal(
Loading