[elbe-devel] [PATCH 3/8] repomanager: correct initvm related CdromSrcRepo attributes
Manuel Traut
manut at linutronix.de
Fri Oct 19 15:41:18 CEST 2018
On Thu, Sep 27, 2018 at 12:34:16PM +0200, Torben Hohn wrote:
> Initvm uses components main and main/debian-installer. This is not
> useful, because (contrary to binary Cdrom repos) initvm and target
> share the source repo. This does not allow adding different package
> versions for initvm and target, when arch and codename are identical.
>
> Also, main/debian-installer does not contain sourcecode, and
> additionally triggers a call to reprepro update during Repository
> initialisation.
>
> Rename component 'main' to 'initvm' for source repos. And drop
> 'main/debian-installer' completely.
>
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
Reviewed-by: Manuel Traut <manut at linutronix.de>
> ---
> elbepack/repomanager.py | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/elbepack/repomanager.py b/elbepack/repomanager.py
> index 4e37daeb..da62259b 100644
> --- a/elbepack/repomanager.py
> +++ b/elbepack/repomanager.py
> @@ -393,9 +393,10 @@ class CdromSrcRepo(RepoBase):
> mirror)
>
> if init_codename is not None:
> - init_attrs = RepoAttributes(
> - init_codename, "source", [
> - "main", "main/debian-installer"], mirror)
> + init_attrs = RepoAttributes(init_codename,
> + "source",
> + ["initvm"],
> + mirror)
> else:
> init_attrs = None
>
> --
> 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