[elbe-devel] [PATCH 1/2] virtapt: pass keylist to VirtApt

Kurt Kanzenbach kurt at linutronix.de
Fri Mar 16 12:06:21 CET 2018


On Fri, Mar 16, 2018 at 11:50:31AM +0100, John Ogness wrote:
> In commit 936e9e2558f1 ("run virtapt in a forked process") the
> VirtApt instance is created in a new process. However, the keylist
> was not passed to the new forked version of VirtApt. Without the
> keylist, elbe would be unable to validate certain repos if the
> key was not already imported in the host keyring.
>
> Pass the keylist when creating the VirtApt instance.
>
> Fixes: 936e9e2558f1 ("run virtapt in a forked process")
> Signed-off-by: John Ogness <john.ogness at linutronix.de>

Reviewed-by: Kurt Kanzenbach <kurt at linutronix.de>

> ---
>  elbepack/virtapt.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/elbepack/virtapt.py b/elbepack/virtapt.py
> index b9d40011..6bdadc4b 100644
> --- a/elbepack/virtapt.py
> +++ b/elbepack/virtapt.py
> @@ -250,4 +250,4 @@ def get_virtaptcache(arch, suite, sources, prefs, keylist=[]):
>      mm = MyMan()
>      mm.start()
>
> -    return mm.VirtRPCAPTCache(arch, suite, sources, prefs)
> +    return mm.VirtRPCAPTCache(arch, suite, sources, prefs, keylist)
> --
> 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