[meta-virtualization] [PATCH 2/4] runc: remove static to enable building systemd support

Bruce Ashfield bruce.ashfield at gmail.com
Mon Aug 5 04:28:48 PDT 2019


On Mon., Aug. 5, 2019, 3:02 a.m. Chen Qi, <Qi.Chen at windriver.com> 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 <Qi.Chen at windriver.com>
> ---
>  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

 }
>
>  do_install() {
> --
> 2.17.1
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20190805/9ff6eabe/attachment-0001.html>


More information about the meta-virtualization mailing list