Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7363BE00D2E; Thu, 21 Mar 2019 23:09:38 -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 * [192.103.53.11 listed in list.dnswl.org] Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BD15AE00994 for ; Thu, 21 Mar 2019 23:09:37 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id x2M69GRh021206 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 21 Mar 2019 23:09:27 -0700 Received: from pek-lpg-core1-vm1.wrs.com (128.224.156.106) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.439.0; Thu, 21 Mar 2019 23:09:04 -0700 From: Dengke Du To: Date: Fri, 22 Mar 2019 14:09:04 +0800 Message-ID: <1553234944-19534-1-git-send-email-dengke.du@windriver.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Subject: [PATCH] criu: upgrade to 3.11 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, 22 Mar 2019 06:09:38 -0000 Content-Type: text/plain Remove the following patch, because the 3.11 version already contain it. 0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch Signed-off-by: Dengke Du --- recipes-containers/criu/criu_git.bb | 5 ++- ...on-t-open-run-criu.kdat-if-doesn-t-exists.patch | 42 ---------------------- 2 files changed, 2 insertions(+), 45 deletions(-) delete mode 100644 recipes-containers/criu/files/0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb index 123f6a3..c6981c9 100644 --- a/recipes-containers/criu/criu_git.bb +++ b/recipes-containers/criu/criu_git.bb @@ -13,15 +13,14 @@ EXCLUDE_FROM_WORLD = "1" LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2" -SRCREV = "c49eab368a68682475c4e693258246e04232e6d2" -PV = "3.10+git${SRCPV}" +SRCREV = "c74b83cd49c00589c0c0468ba5fe685b67fdbd0a" +PV = "3.11+git${SRCPV}" SRC_URI = "git://github.com/xemul/criu.git;protocol=git \ file://0001-criu-Fix-toolchain-hardcode.patch \ file://0002-criu-Skip-documentation-install.patch \ file://0001-criu-Change-libraries-install-directory.patch \ file://lib-Makefile-overwrite-install-lib-to-allow-multiarc.patch \ - file://0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch \ " COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" diff --git a/recipes-containers/criu/files/0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch b/recipes-containers/criu/files/0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch deleted file mode 100644 index 805f799..0000000 --- a/recipes-containers/criu/files/0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch +++ /dev/null @@ -1,42 +0,0 @@ -From b9760919eb3f805dd3d2af5692b49cba9c468595 Mon Sep 17 00:00:00 2001 -From: "Hongzhi.Song" -Date: Mon, 26 Nov 2018 02:39:59 -0500 -Subject: [PATCH] kdat: Don't open /run/criu.kdat if doesn't exists - -When CRIU is called for a first time and the /run/criu.kdat file does -not exists, the following warning is shown: - Warn (criu/kerndat.c:847): Can't load /run/criu.kdat - -This patch is replacing this warning with a more appropriate debug -message. - File /run/criu.kdat does not exist - -Signed-off-by: Radostin Stoyanov -Signed-off-by: Andrei Vagin - -Upstream-Status: Backport [https://github.com/checkpoint-restore/criu/commit/868de91a099c00f099d8a41557d660d173f72521] - -Signed-off-by: Hongzhi.Song ---- - criu/kerndat.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/criu/kerndat.c b/criu/kerndat.c -index 8cb5690..9fb475c 100644 ---- a/criu/kerndat.c -+++ b/criu/kerndat.c -@@ -789,7 +789,10 @@ static int kerndat_try_load_cache(void) - - fd = open(KERNDAT_CACHE_FILE, O_RDONLY); - if (fd < 0) { -- pr_warn("Can't load %s\n", KERNDAT_CACHE_FILE); -+ if(ENOENT == errno) -+ pr_debug("File %s does not exist\n", KERNDAT_CACHE_FILE); -+ else -+ pr_warn("Can't load %s\n", KERNDAT_CACHE_FILE); - return 1; - } - --- -2.8.1 - -- 2.7.4