From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iDyWEzxMRmLa1AAAgWs5BA (envelope-from ) for ; Fri, 01 Apr 2022 02:50:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uDk/EDxMRmK5fgAAauVa8A (envelope-from ) for ; Fri, 01 Apr 2022 02:50:04 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ECD39E316 for ; Fri, 1 Apr 2022 02:50:03 +0200 (CEST) Received: from localhost ([::1]:57214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na5UI-0006WC-HU for larch@yhetil.org; Thu, 31 Mar 2022 20:50:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na5TM-0006Sv-RZ for guix-patches@gnu.org; Thu, 31 Mar 2022 20:49:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46413) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1na5TL-0004Pa-LV for guix-patches@gnu.org; Thu, 31 Mar 2022 20:49:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1na5TL-0003OU-Ja for guix-patches@gnu.org; Thu, 31 Mar 2022 20:49:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#52790] [PATCH v2 3/7] gnu: containerd: Update to 1.6.2. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Apr 2022 00:49:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52790 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52790@debbugs.gnu.org Cc: Pierre Langlois Received: via spool by 52790-submit@debbugs.gnu.org id=B52790.164877409512941 (code B ref 52790); Fri, 01 Apr 2022 00:49:03 +0000 Received: (at 52790) by debbugs.gnu.org; 1 Apr 2022 00:48:15 +0000 Received: from localhost ([127.0.0.1]:40299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1na5SY-0003MY-O0 for submit@debbugs.gnu.org; Thu, 31 Mar 2022 20:48:14 -0400 Received: from mout.gmx.net ([212.227.17.20]:56489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1na5SQ-0003Ke-34 for 52790@debbugs.gnu.org; Thu, 31 Mar 2022 20:48:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648774080; bh=+IvPEElv+cBXbh5a0A65j6GOK6ILdAzJ6HR/YfD+DKI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=XnzO2wCPf+WPRge9jEplPe8JZNY253p2JSZWaGICtdN2+KOh2keYHk7lB5gxlvTtg +hlRKFTSQkdVq4hJfneMrpEwFMIQ6ttX3poEp4cjJQhQMpvi0NyCeidkOeYDFZ+Obb Q91+eXF0Mn0BEaHg9W81Xwistat+a7gGj1G0hhw4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MXXyJ-1nWUHv0LTb-00Z0qO; Fri, 01 Apr 2022 02:48:00 +0200 From: Pierre Langlois Date: Fri, 1 Apr 2022 01:46:38 +0100 Message-Id: <20220401004642.14949-4-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220401004642.14949-1-pierre.langlois@gmx.com> References: <20220401004642.14949-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:abrjmIZq+iztjVYRWSQY/B8YSavoSfsuDHSu10PSUlvHj5PToIw Gq9wNpgitZPe2tdAE93YtvoOtE5txsfdwAUHyTXWDy+kpyY8dNhqBtwZ/RZlabQGMTOK+2w f++gkdLw315MSzF2Yql1P6MXjvr8U3UO0y2Z5QpnwG4NTZQAU+4vGD8o5B+xyLnQrUCLeaG oSlWoJeKzBRrjOo9beGSw== X-UI-Out-Filterresults: notjunk:1;V03:K0:zsp6pgBsbjA=:I+0UmHrzc0N+mXrQvcm9hw jf04X64/h2FBMOY+Gy56AiA4tASYIcc/pLctg0T8eyfphqjK0Hbsy6cJ/vY2BzZlRIZ9si0I6 IVA7g0XmotNnu5UtIGCngxJptdvs0eOzg9wtEWP28EG0PHfX+s1cmShn7ADhJ415YN9tDEAko jbgzC+Qknyl3wYkJ61JjEVodFpIVE4uRd7LFqlaDGoHDfxThTIzcih4gKf0aHUpIpYYd1EkUl eUPiGCcNTQjVfhhzAi7Qk9LmtRRqPf8OxCuVm0VySG5xyvAfqUjvgK9Y0Gz7hZw2WhHYNdBRH 9caBO9rEfPVLpw1vUIgFYiHx48vGMvZrXeT1bF4uT9fb0h+VWyzKH3lq/nyIllr532o6/yVF6 o7D4glynrGhxWu79lBz2DQiG4kmLVjg/LqVHz5TIBTOhPLGXQCxRxcWTk1UmgKIYW/QVI/+hx 1VW/MPue02kqWq9S29+qNBMFnb9EGnkKY7iFw3WNFF6q6nhDycPmCBs8EAYUW2NRiXPYwWtFz uKOxDTAovwUJkSnAgm/GzQCUhDWfUgt+sQPwrP2MSkLnooI+pHZs1sHSro8QRYgnEeXUPLYB+ lX+Q1PieT55UrtAcB6NRJpNJcJEvQOOxQ3pGdtmafrV2DveAPh0jkwDkafUAzlg45nTaELdkj eXRifPTwMWEhu1qEChDhILcD9Ph0TRZHjKrkQVOVnIEpLQ9UrV2GSSa7AeDKcAeLjT5LBsfSS 0cOAgnzQqat2E315D6jS2zHTIq1fEhDF9+3F1pp+rfNBgIIzQ7S9U5PBd6u0KrF8IbKZew9Z2 YdJs2XEZD/NZR8VKCBpU2rbuyiwhEQthMmOFUIGbnFRxPIsSRBT+oYKgeR4ek7bRKmuKydALO zgP74uXtdmsNSg9ixP4IHdP4aGGkYHMuZndk1XPJlK8yLFggw/LXBNIZdomEJ5PKaj/RK71z/ hI/4D2sY2D4q6QuUoFZ9x+sQYwEI9X6ZzqPFkHqNIlk/dIOYAtG2rYQOXRCUsiBuSp/5EcSSM VOBJiWwkKjvM46JLaCEGwBIPKFOHNQVzvbcP/LEURoBpRcZNuKsyY36d4S0JMi9Wat/aGYWLc RMSwaUQzQ5DDzk= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648774204; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7XKoRR1binaDVR+gGfsZhvymvPZ8AT7Lq4RHNeeVjWI=; b=uFYzF2/SfznpkaDROgs+1PT1MgOkwdboqJoWIrCjy05lN7rvCYlDMA4GJRzX8vH22HC4Ie W20EV11L5qHz5uHP1cNLs3gZfsXhRFumUVjqkQEdDap8t73KG6bp+jkxR7Fx37s/SxmSwb 8B9+eFTHtaDg/Aa/9n2qdiuqr7y92YSZLAQT5guL8MrkHBqdY8pMjJGqPVWoQxmQwpKTvn MKe8faczmDLga5Tab7q6D4YuzNBqd/OUAok1TNwo7jIAsfFQp2T581Rk8/5/ET78ytmxvs wBrB7O4+SMMliHoQG50UyxBhAWue5dQAY812yeAbt6jHdrYrK365IqRRtkC8xg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648774204; a=rsa-sha256; cv=none; b=HSG3rLPRpyhCHZS2LdkhPnatliMYOBx+lO0wBPApCOUjwQfSzcHxcIRFOxgWY8p5MRwZMr rxncIduiNNaEnZDQakedWI3skqXtR5dhTMrYEXPMusf+2+U0Zx3P/faqTBNYiRTVeDw4ma jFlq2vuxrAUZx/NsTyy4rzHxtB8FF5OtklVj1Ak3xWpNpU4jG9kywoReBJHHppvAYookq/ gwmoCOHtEyXSVcCoJ+32S+tJNLmZoxajm8zvIOlitDiYHljrEHwv5otYnrK8onI/Z9FGkG t9oAb37wYWQZ0bQnnLM+9+iWxlNsiP71XKPrZ4cSWNFFjKkl5lVwmFF3o+Z7DA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=XnzO2wCP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=XnzO2wCP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: ECD39E316 X-Spam-Score: 7.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: hHqQdButfLVX * gnu/packages/docker.scm (containerd): Update to 1.6.2. [arguments]: Substitute runc binary for "pkg/cri/config/config_unix.go". = Set PREFIX to empty string, as the install directory is $DESTDIR/$PREFIX. =2D-- gnu/packages/docker.scm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index b76db22d58..7a7594f2b1 100644 =2D-- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -174,7 +174,7 @@ (define-public python-docker-pycreds (define-public containerd (package (name "containerd") - (version "1.4.4") + (version "1.6.2") (source (origin (method git-fetch) @@ -183,7 +183,7 @@ (define-public containerd (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0qjbfj1dw6pykxhh8zahcxlgpyjzgnrngk5vjaf34akwyan8nrxb")))= ) + (base32 "0fw62aya0gwxaa2kkcjkbifp8n0xmk1x0qzjahlsls6g0pmh5pkq")))= ) (build-system go-build-system) (arguments (let ((make-flags (list (string-append "VERSION=3D" version) @@ -203,6 +203,11 @@ (define-public containerd (string-append "defaultShim =3D \"" (assoc-ref outputs "out") "/bin/containerd-shim\"\n"))) + (substitute* "pkg/cri/config/config_unix.go" + (("DefaultRuntimeName: \"runc\"") + (string-append "DefaultRuntimeName: \"" + (assoc-ref inputs "runc") + "/sbin/runc\""))) (substitute* "vendor/github.com/containerd/go-runc/runc.= go" (("DefaultCommand[ \t]*=3D.*") (string-append "DefaultCommand =3D \"" @@ -226,8 +231,8 @@ (define-public containerd (lambda* (#:key import-path outputs #:allow-other-keys) (with-directory-excursion (string-append "src/" import-pat= h) (let* ((out (assoc-ref outputs "out"))) - (apply invoke "make" (string-append "DESTDIR=3D" out) = "install" - ',make-flags))))))))) + (apply invoke "make" (string-append "DESTDIR=3D" out) + "PREFIX=3D" "install" ',make-flags))))))))) (inputs (list btrfs-progs libseccomp pigz runc util-linux)) (native-inputs =2D- 2.34.0