[elbe-devel] [PATCH 3/5] check_updates: set the source_pkg name

Torben Hohn torben.hohn at linutronix.de
Mon Jul 8 16:38:14 CEST 2019


use the newly added VirtApt.get_source_pkg() method to set it up.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/commands/check_updates.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/elbepack/commands/check_updates.py b/elbepack/commands/check_updates.py
index 4ae9e6d05..5dab746ed 100644
--- a/elbepack/commands/check_updates.py
+++ b/elbepack/commands/check_updates.py
@@ -126,6 +126,7 @@ def run_command(argv):
                 if opt.changelogs:
                     v.mark_pkg_download(xp.name)
                     xp.candidate_version = cver
+                    xp.source_pkg = v.get_source_pkg(xp.name)
                     update_packages.append(xp)
 
     sys.stdout.flush()
-- 
2.11.0




More information about the elbe-devel mailing list