On 08/05/2019 07:28 PM, Bruce Ashfield wrote:
On Mon., Aug. 5, 2019, 3:02 a.m. Chen Qi, <[email protected]
<mailto:[email protected]>> wrote:
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]
<mailto:[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
This needs to be optional, via a packageconfig that can be overidden
and that can trigger a default of the init manager is systemd. (I
actually want static and systemd in my configs )
Bruce
So we introduce a PACKAGECONFIG, whose effect is using static when
enabled and dropping static when disabled. By default, it's disabled if
systemd is in use.
Right?
Regards,
Chen Qi
}
do_install() {
--
2.17.1
--
_______________________________________________
meta-virtualization mailing list
[email protected]
<mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/meta-virtualization
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization