[elbe-devel] [PATCH v2 04/12] fetch_initvm_pkgs: use component initvm for initvm related sources

Torben Hohn torben.hohn at linutronix.de
Mon Nov 12 17:43:05 CET 2018


When initvm and target share the same release, it would not be possible
to have different versions of a package in the repos.

Use component 'initvm' to differentiate between initvm and target.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
Signed-off-by: Manuel Traut <manut at linutronix.de>
Reviewed-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/commands/fetch_initvm_pkgs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/commands/fetch_initvm_pkgs.py b/elbepack/commands/fetch_initvm_pkgs.py
index d681a6a5..edc1805e 100644
--- a/elbepack/commands/fetch_initvm_pkgs.py
+++ b/elbepack/commands/fetch_initvm_pkgs.py
@@ -111,7 +111,7 @@ def run_command(argv):
             dsc = pkgver.fetch_source(opt.srcarchive,
                                       ElbeAcquireProgress(cb=None),
                                       unpack=False)
-            repo.includedsc(dsc, 'main')
+            repo.include_init_dsc(dsc, 'initvm')
         except ValueError:
             log.printo("No Package " + pkg.name +
                        "-" + str(pkg.installed_version))
-- 
2.11.0




More information about the elbe-devel mailing list