From: Michal Privoznik Date: Thu, 15 Aug 2019 14:28:31 +0000 (+0200) Subject: ci: Allow gdb in containers X-Git-Tag: v5.7.0-rc1~224 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=301eb18becd16efb0ad9195b549cee5daccc795d;p=thirdparty%2Flibvirt.git ci: Allow gdb in containers The gdb requires ptrace capability, but the way we run containers now is that they drop every capability. Preserve SYS_PTRACE then. Signed-off-by: Michal Privoznik Reviewed-by: Erik Skultety --- diff --git a/Makefile.ci b/Makefile.ci index 8857c953b2..977e0445c6 100644 --- a/Makefile.ci +++ b/Makefile.ci @@ -167,6 +167,7 @@ CI_ENGINE_ARGS = \ --volume $(CI_HOST_SRCDIR):$(CI_CONT_SRCDIR):z \ --workdir $(CI_CONT_SRCDIR) \ --ulimit nofile=$(CI_ULIMIT_FILES):$(CI_ULIMIT_FILES) \ + --cap-add=SYS_PTRACE \ $(NULL) ci-check-engine: