Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 00F1EE00546; Fri, 10 Feb 2017 07:53:21 -0800 (PST) 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: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 48B66E004D8 for ; Fri, 10 Feb 2017 07:53:20 -0800 (PST) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id v1AFrJ4s028054 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Fri, 10 Feb 2017 07:53:19 -0800 (PST) Received: from server.local (128.224.21.219) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.294.0; Fri, 10 Feb 2017 07:53:18 -0800 To: References: <1486741468-4476-1-git-send-email-mark.asselstine@windriver.com> <1486741468-4476-3-git-send-email-mark.asselstine@windriver.com> From: Bruce Ashfield Message-ID: <5f1ea63c-0fb4-832f-29cc-a8dff18589bd@windriver.com> Date: Fri, 10 Feb 2017 10:53:18 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Cc: "meta-virtualization@yoctoproject.org" Subject: Re: [PATCH 2/2] runc: uprev to version required by docker 1.13.0 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: Fri, 10 Feb 2017 15:53:21 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit On 2017-02-10 10:52 AM, Mark Asselstine wrote: > On Fri, Feb 10, 2017 at 10:48 AM, Bruce Ashfield > wrote: >> On 2017-02-10 10:44 AM, Mark Asselstine wrote: >>> >>> At the moment we only use runc in conjunction with docker. In order to >>> allow docker to function correctly we need to use the version >>> specified in docker's vendor.conf file. Uprev runc to this version. >>> >>> NOTE that the docker folks have actually forked runc and I have used >>> this fork as the SRC_URI. I could have chosen instead to use the old >>> SRC_URI along with the fork point commit as the SRCREV, and then >>> applied the 2 commits the docker team have added beyond the fork. I >>> opted instead to use the fork such that 'docker info' would not >>> complain about a version mismatch. This also makes it easier to google >>> for issues since the commit ID matches. >>> >>> NOTE when we eventually have more users of runc we will have to >>> determine a strategy to either have them all use the same version or >>> allow for multiple versions of runc on the system. This is also true >>> for containerd. >> >> >> We already have more users of runc, so I unfortunately can't take >> this uprev at the moment. >> >> There doesn't have to be multiple versions on the target, > > OK, as long as we are not expecting multiple version on the target at > the same time the split is a good approach and I can make this happen. > I will send a V2 with these changes. Yep, just make docker-runc conflict with runc, and docker-containerd conflict with containerd. That way the crimes are fully visible :D Bruce > > Mark > > >> but we >> need to split the package into "docker-runc" and "runc", which is >> what other distros tend to do. >> >> So I can't take this update at the moment, and we'll have to work >> on the package split before we can do the update. We need all the >> components to be individually updated without docker dictating the >> revisions. >> >> Bruce >> >>> >>> Signed-off-by: Mark Asselstine >>> --- >>> recipes-containers/runc/runc_git.bb | 6 +++--- >>> 1 file changed, 3 insertions(+), 3 deletions(-) >>> >>> diff --git a/recipes-containers/runc/runc_git.bb >>> b/recipes-containers/runc/runc_git.bb >>> index 23c0094..c5cf40b 100644 >>> --- a/recipes-containers/runc/runc_git.bb >>> +++ b/recipes-containers/runc/runc_git.bb >>> @@ -4,9 +4,9 @@ DESCRIPTION = "runc is a CLI tool for spawning and running >>> containers according >>> >>> # Note: this rev is before the required protocol field, update when all >>> components >>> # have been updated to match. >>> -SRCREV = "1cdaa709f151b61cee2bdaa09d8e5d2b58a8ba72" >>> +SRCREV = "2f7393a47307a16f8cee44a37b262e8b81021e3e" >>> SRC_URI = "\ >>> - git://github.com/opencontainers/runc;branch=master \ >>> + git://github.com/docker/runc.git;nobranch=1 \ >>> " >>> >>> # Apache-2.0 for containerd >>> @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = >>> "file://LICENSE;md5=435b266b3899aa8a959f17d41c56def8" >>> >>> S = "${WORKDIR}/git" >>> >>> -RUNC_VERSION = "1.0.0-rc1" >>> +RUNC_VERSION = "1.0.0-rc2" >>> PV = "${RUNC_VERSION}+git${SRCREV}" >>> >>> DEPENDS = "go-cross-${TARGET_ARCH} \ >>> >> >> -- >> _______________________________________________ >> meta-virtualization mailing list >> meta-virtualization@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/meta-virtualization