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

John Ogness john.ogness at linutronix.de
Fri Mar 16 11:50:31 CET 2018


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>
---
 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




More information about the elbe-devel mailing list