Remove the 'static' from do_compile to enable systemd support.
This avoid runtime error is docker's cgroup driver is set to systemd
on systemd based images.

Signed-off-by: Chen Qi <[email protected]>
---
 recipes-containers/runc/runc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc
index 46fd09d..1f2f944 100644
--- a/recipes-containers/runc/runc.inc
+++ b/recipes-containers/runc/runc.inc
@@ -54,7 +54,7 @@ do_compile() {
        export CFLAGS=""
        export LDFLAGS=""
 
-       oe_runmake static
+       oe_runmake
 }
 
 do_install() {
-- 
2.17.1

-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to