[elbe-devel] [PATCH 5/5] commands mkcdrom: Generate source list for building source cdrom
Olivier Dion
dion at linutronix.de
Wed May 20 04:27:03 CEST 2020
mk_source_cdrom() is now expecting a list of tuples of the
form (src_name, src_version) instead of (bin_name, bin_version).
Signed-off-by: Olivier Dion <dion at linutronix.de>
---
elbepack/commands/mkcdrom.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/elbepack/commands/mkcdrom.py b/elbepack/commands/mkcdrom.py
index 82551a1c..ca1e5ba9 100644
--- a/elbepack/commands/mkcdrom.py
+++ b/elbepack/commands/mkcdrom.py
@@ -94,7 +94,9 @@ def run_command(argv):
cache = get_rpcaptcache(rfs, arch)
pkg_lst = [(pkg.name, pkg.installed_version)
for pkg in cache.get_installed_pkgs()]
- components = {"main":(rfs, cache, pkg_lst)}
+ components = {"main": (rfs,
+ cache,
+ cache.get_corresponding_source_packages())}
generated_files += mk_source_cdrom(components, codename,
init_codename, builddir,
opt.cdrom_size)
--
2.26.2
More information about the elbe-devel
mailing list