[elbe-devel] [PATCH v3 2/4] dump: Make elbe_report return the list of target pkgs

Olivier Dion dion at linutronix.de
Tue Apr 7 16:42:49 CEST 2020


This list is then reused later for generating license files.

Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/dump.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elbepack/dump.py b/elbepack/dump.py
index cde805a7..edc6637f 100644
--- a/elbepack/dump.py
+++ b/elbepack/dump.py
@@ -300,7 +300,7 @@ def elbe_report(xml, buildenv, cache, targetfs):
         f.close()
 
     if not xml.has("archive") or xml.text("archive") is None:
-        return
+        return list(tgt_pkg_list)
 
     validation.info("")
     validation.info("Archive validation")
@@ -316,3 +316,4 @@ def elbe_report(xml, buildenv, cache, targetfs):
             elif mt_index_post_fine[fpath] != mt_index_postarch[fpath]:
                 validation.warning("Archive file %s modified in finetuning",
                                    fpath)
+    return list(tgt_pkg_list)
-- 
2.26.0




More information about the elbe-devel mailing list