[elbe-devel] [PATCH 4/8] buildrepo: use component initvm for initvm related sources

Torben Hohn torben.hohn at linutronix.de
Thu Sep 27 12:34:17 CEST 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>
---
 elbepack/commands/buildrepo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/commands/buildrepo.py b/elbepack/commands/buildrepo.py
index 82ff64ba..c08da229 100644
--- a/elbepack/commands/buildrepo.py
+++ b/elbepack/commands/buildrepo.py
@@ -120,7 +120,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