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

Manuel Traut manut at linutronix.de
Fri Oct 19 15:42:24 CEST 2018


On Thu, Sep 27, 2018 at 12:34:17PM +0200, Torben Hohn wrote:
> 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>

Reviewed-by: Manuel Traut <manut 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
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list