[elbe-devel] [PATCH 4/7] rfs: fixup BuildEnv.add_key() for new new logging implementation
Torben Hohn
torben.hohn at linutronix.de
Mon Sep 2 10:47:36 CEST 2019
this code got changed after v8 and the betterlog branch did not fix it up.
fix it now.
Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
elbepack/rfs.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/elbepack/rfs.py b/elbepack/rfs.py
index 0f33eaae0..4b1127b54 100644
--- a/elbepack/rfs.py
+++ b/elbepack/rfs.py
@@ -274,10 +274,10 @@ class BuildEnv (object):
def add_key(self, key):
cmd = 'echo "%s" > %s' % (key, self.rfs.fname("tmp/key.pub"))
clean = 'rm -f %s' % self.rfs.fname("tmp/key.pub")
- self.log.do(cmd)
+ do(cmd)
with self.rfs:
- self.log.chroot(self.rfs.path, 'apt-key add /tmp/key.pub')
- self.log.do(clean)
+ chroot(self.rfs.path, 'apt-key add /tmp/key.pub')
+ do(clean)
def import_keys(self):
if self.xml.has('project/mirror/url-list'):
--
2.11.0
More information about the elbe-devel
mailing list