From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D9705E00B4C; Tue, 29 May 2018 07:25:59 -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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (bruce.ashfield[at]gmail.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [74.125.82.68 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E991BE009D4 for ; Tue, 29 May 2018 07:25:58 -0700 (PDT) Received: by mail-wm0-f68.google.com with SMTP id t11-v6so41216071wmt.0 for ; Tue, 29 May 2018 07:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xDBJxqmScUbzWrJpmKcTsbfza9eomeVYdit+hg1qf6Q=; b=Nxpse4wXBkitdcxer85ej5Awaa7QJHnVYMKiy39+kiqT+boDZApVzE4MozKAEpYyKa nDNamAJSe/qMymaGBp4szOvJRpIojVo0w9gwq6vgP3KZA1vftBnK9xKsLXzWyliv0QM4 A8vpJQh4QwevPvv3QVEvCUE6su9yoMxUNsqeNlOZD28gFwSwWVCMw4ZjCwHdn/YUyh/b N3l8iDf6b/hsgrHvgHM6kUg26g1CotdzhPRAOlBIowVDQQ/tUwsWm0+hN5UDzM0iiSkH 7W4C2U7rZXjQgXvBUrot5krcKaTU/d5XydoJuQ/UGAFBRNhO++bnB4WbCyc/f3EL9Igv OMxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xDBJxqmScUbzWrJpmKcTsbfza9eomeVYdit+hg1qf6Q=; b=gjeWK92SDz0oT7CVawBTQerjJLQjXkOV5EYyd6RPg//ohdM+ZSlrTXiCltD0ee2y/j eCvuyQp9Pmsf1M6hljRHyuubRVv+qLnwQzo40rTMoy0K+H+Z6ZLu+nzSBswtgoIj5MQa sY6EK72E4hzGUBNIjK10ggsIDNl3UkoLihfL7eqx24Q4XeW8GEVKsOhCz1V4oTKqX+S3 z5LgI0Q1hdbgR9G1WADOHiWUjGl9caRc66Xau/6tQdmh2tOKBF/uPQcjPnalg9EWAbTs uAWC3d0R7lvVHFIu1NdQq/18YWL0vI44GYqhdzZpxxOwZ6iwU3ucuI/RDy/uFONeX4ya 1oxw== X-Gm-Message-State: ALKqPwf+zD4DZbzH3XOArd8KriVe3B5HBlI0PezFnwhtNyhWUVqgSUYP 4CT4YR+pbnBqUw6MkAxNIUsNC5DFOE//EzkHEY0= X-Google-Smtp-Source: ADUXVKIf6jagnBCMjzu3YMwhug/8ZOz+DvGxbAyU8zg9oO9qULLDnzW/MkfacxKcC8PEhax7RER6COzUyvrEFm7Kpm4= X-Received: by 2002:a2e:82d6:: with SMTP id n22-v6mr11394140ljh.142.1527603957823; Tue, 29 May 2018 07:25:57 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:3307:0:0:0:0:0 with HTTP; Tue, 29 May 2018 07:25:57 -0700 (PDT) In-Reply-To: <20180525135820.9279-1-pascal.bach@siemens.com> References: <20180525135820.9279-1-pascal.bach@siemens.com> From: Bruce Ashfield Date: Tue, 29 May 2018 10:25:57 -0400 Message-ID: To: Pascal Bach Cc: meta-virtualization@yoctoproject.org Subject: Re: [PATCH 1/2] runc: allow enabling seccomp 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: Tue, 29 May 2018 14:25:59 -0000 Content-Type: multipart/alternative; boundary="000000000000437d9c056d59030b" --000000000000437d9c056d59030b Content-Type: text/plain; charset="UTF-8" merged. Bruce On Fri, May 25, 2018 at 9:58 AM, Pascal Bach wrote: > This requires libseccomp from meta-security so it is not enabled by > default. > > Signed-off-by: Pascal Bach > --- > recipes-containers/runc/runc.inc | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/ > runc.inc > index 9199cef..6d11a6e 100644 > --- a/recipes-containers/runc/runc.inc > +++ b/recipes-containers/runc/runc.inc > @@ -12,6 +12,10 @@ PV = "${RUNC_VERSION}+git${SRCPV}" > > inherit go > inherit goarch > +inherit pkgconfig > + > +PACKAGECONFIG ??= "" > +PACKAGECONFIG[seccomp] = "seccomp,,libseccomp" > > RRECOMMENDS_${PN} = "lxc docker" > PROVIDES += "virtual/runc" > @@ -22,7 +26,7 @@ GO_IMPORT = "import" > LIBCONTAINER_PACKAGE="github.com/opencontainers/runc/libcontainer" > > do_configure[noexec] = "1" > -EXTRA_OEMAKE="BUILDTAGS='' GO=${GO}" > +EXTRA_OEMAKE="BUILDTAGS='${PACKAGECONFIG_CONFARGS}' GO=${GO}" > > do_compile() { > # Set GOPATH. See 'PACKAGERS.md'. Don't rely on > -- > 2.11.0 > > -- > _______________________________________________ > meta-virtualization mailing list > meta-virtualization@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-virtualization > -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" --000000000000437d9c056d59030b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
merged.

Bruce

On Fri, May 25, 2018 at 9:58 AM= , Pascal Bach <pascal.bach@siemens.com> wrote:
This requires libseccomp from meta-security so i= t is not enabled by default.

Signed-off-by: Pascal Bach <p= ascal.bach@siemens.com>
---
=C2=A0recipes-containers/runc/runc.inc | 6 +++++-
=C2=A01 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/run= c/runc.inc
index 9199cef..6d11a6e 100644
--- a/recipes-containers/runc/runc.inc
+++ b/recipes-containers/runc/runc.inc
@@ -12,6 +12,10 @@ PV =3D "${RUNC_VERSION}+git${SRCPV}"

=C2=A0inherit go
=C2=A0inherit goarch
+inherit pkgconfig
+
+PACKAGECONFIG ??=3D ""
+PACKAGECONFIG[seccomp] =3D "seccomp,,libseccomp"

=C2=A0RRECOMMENDS_${PN} =3D "lxc docker"
=C2=A0PROVIDES +=3D "virtual/runc"
@@ -22,7 +26,7 @@ GO_IMPORT =3D "import"
=C2=A0LIBCONTAINER_PACKAGE=3D"github.com= /opencontainers/runc/libcontainer"

=C2=A0do_configure[noexec] =3D "1"
-EXTRA_OEMAKE=3D"BUILDTAGS=3D'' GO=3D${GO}"
+EXTRA_OEMAKE=3D"BUILDTAGS=3D'${PACKAGECONFIG_CONFARGS}' = GO=3D${GO}"

=C2=A0do_compile() {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # Set GOPATH. See 'PACKAGERS.md'. Don&#= 39;t rely on
--
2.11.0

--
_______________________________________________
meta-virtualization mailing list
meta-virtualization= @yoctoproject.org
https://lists.yoctoproject.org/listi= nfo/meta-virtualization



--
"T= hou shalt not follow the NULL pointer, for chaos and madness await thee at = its end"
--000000000000437d9c056d59030b--