Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 96340E00D1C; Sun, 4 Aug 2019 23:02:16 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4AEF0E00BA1 for ; Sun, 4 Aug 2019 23:02:15 -0700 (PDT) Received: from ALA-HCB.corp.ad.wrs.com ([147.11.189.41]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id x7562F68013612 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Sun, 4 Aug 2019 23:02:15 -0700 (PDT) Received: from pek-lpg-core3.wrs.com (128.224.153.232) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.468.0; Sun, 4 Aug 2019 23:02:08 -0700 From: Chen Qi To: Date: Mon, 5 Aug 2019 14:01:41 +0800 Message-ID: <20190805060143.24108-2-Qi.Chen@windriver.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190805060143.24108-1-Qi.Chen@windriver.com> References: <20190805060143.24108-1-Qi.Chen@windriver.com> MIME-Version: 1.0 Subject: [PATCH 2/4] runc: remove static to enable building systemd support X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2019 06:02:16 -0000 Content-Type: text/plain 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 --- 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