From 27a5f3e06c91fb5ae49f753f1fb1e1f78142f9c0 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Fri, 16 Mar 2007 18:28:29 +0000 Subject: [PATCH] =?utf8?q?Excluir=20/proc=20al=20rsync'ear=20chroot.=20Par?= =?utf8?q?a=20que=20funcione=20el=20valgrind=20es=20necesario=20que=20est?= =?utf8?q?=C3=A9=20montado=20el=20/proc=20en=20el=20(los)=20chroot(s),=20p?= =?utf8?q?ero=20al=20hacer=20el=20rsync,=20no=20hay=20que=20ponerlo.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sercom/tester.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sercom/tester.py b/sercom/tester.py index e278417..b7b60d1 100644 --- a/sercom/tester.py +++ b/sercom/tester.py @@ -247,7 +247,8 @@ class Tester(object): #{{{ def setup_chroot(self, entrega): #{{{ y clean_chroot() log.debug(_(u'Tester.setup_chroot(entrega=%s)'), entrega.shortrepr()) rsync = ('rsync', '--stats', '--itemize-changes', '--human-readable', - '--archive', '--acls', '--delete-during', '--force', # TODO config + '--archive', '--acls', '--delete-during', '--force', + '--exclude', '/proc', # TODO config join(self.orig_chroot, ''), self.chroot) log.debug(_(u'Ejecutando como root: %s'), ' '.join(rsync)) os.seteuid(0) # Dios! (para chroot) -- 2.43.0