Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.20368.1795988930315298190 for ; Sun, 29 Nov 2026 13:48:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=TP3A3bCj; spf=pass (domain: gmail.com, ip: 209.85.221.54, mailfrom: john.madieu@gmail.com) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-4a5024b3c28so6072213f8f.0 for ; Sun, 29 Nov 2026 13:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795988928; x=1796593728; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=5nKgPZzDq4iPZ62kj0eW6U9C8FMK3TtqInvhVKFj+UM=; b=TP3A3bCjmvwT2CGRENTWKFSjMUL/Zz7GQhzWJvQS9NtqKDpnyK87FIj5I4+c8gbkc0 oeaXvqBnSf9x8LExrgRO0yk4wcieY7Cx9oXyIF9gK2pFSCREsk8rbwJNVujYVsxH9O40 HxqWVn618kXrGKowHid0ToZ3DMkQmfgAbpu+CRNS0xUB6C98EV8uAYqqTerLn9xLOckA SFIDd+u54cmCnm9yOeQwUD2ESpWP66dMpy3yO+Fc3jDM0FBSUoCJAqfpG4hJDWpCVpUn mtgj51ByHRxY65/2NAZGePOs8vorHkiJz3MwxheQycUXQrQpHTntU5mNVN53jSs0M4vV u4ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795988928; x=1796593728; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=5nKgPZzDq4iPZ62kj0eW6U9C8FMK3TtqInvhVKFj+UM=; b=iPyNYF0WNSgmA5L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jsVfBB5dOCcEfLxggl0DJLMEbXUHGSZjj3wo/d46Ze5UZQvG+NKcA/p54HMlBodn8GBP7NP6 ZC55XQq829d73mj0cE68vQ4dnq8QplLs7nHKaUG1GHHI0oRaJBGvRTh1c1kODtFUISe9jSpORbP A2oRoT69okaX5Ux0w= X-Received: by 2002:a05:6000:4310:b0:4a9:6c58:178a with SMTP id ffacd0b85a97d-4aa55bfeb43mr71724752f8f.12.1795988928331; Sun, 29 Nov 2026 13:48:48 -0800 (PST) Return-Path: Received: from jma-lap (2a02-8440-2604-b026-f9b8-494a-4e8e-28be.rev.sfr.net. [2a02:8440:2604:b026:f9b8:494a:4e8e:28be]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6b110c3csm58065168f8f.36.2026.11.29.13.48.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 13:48:47 -0800 (PST) From: John Madieu To: meta-virtualization@lists.yoctoproject.org Cc: bruce.ashfield@gmail.com, John Madieu Subject: [meta-virtualization][PATCH 1/2] docker-moby: drop the check-config patch for MEMCG_SWAP Date: Sun, 29 Nov 2026 22:48:18 +0100 Message-ID: <20261129214819.2587429-2-john.madieu@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261129214819.2587429-1-john.madieu@gmail.com> References: <20261129214819.2587429-1-john.madieu@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 29 Nov 2026 21:48:58 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-virtualization/message/10195 Content-Type: text/plain; charset="utf-8" check-config.sh of docker-v29 only checks MEMCG_SWAP on kernels older than 5.8, so the patch that skipped that check on 6.1+ kernels has nothing left to do. When the patch was refreshed for docker-v29.0.0-rc.1, its hunk moved onto the CGROUP_PIDS check, where it opens an if in one { } block and closes it with fi in the next. The installed check-config.sh stops with a syntax error after the optional features, before the network and storage driver checks. Drop the patch. Signed-off-by: John Madieu --- recipes-containers/docker/docker-moby_git.bb | 1 - ...g-make-CONFIG_MEMCG_SWAP-conditional.patch | 55 ------------------- 2 files changed, 56 deletions(-) delete mode 100644 recipes-containers/docker/files/0001-check-config-make-CONFIG_MEMCG_SWAP-conditional.patch diff --git a/recipes-containers/docker/docker-moby_git.bb b/recipes-containers/docker/docker-moby_git.bb index 271f006e..ed944a69 100644 --- a/recipes-containers/docker/docker-moby_git.bb +++ b/recipes-containers/docker/docker-moby_git.bb @@ -53,7 +53,6 @@ SRC_URI = "\ file://docker.init \ file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \ file://0001-dynbinary-use-go-cross-compiler.patch;patchdir=src/import \ - file://0001-check-config-make-CONFIG_MEMCG_SWAP-conditional.patch;patchdir=src/import \ " DOCKER_COMMIT = "${SRCREV_moby}" diff --git a/recipes-containers/docker/files/0001-check-config-make-CONFIG_MEMCG_SWAP-conditional.patch b/recipes-containers/docker/files/0001-check-config-make-CONFIG_MEMCG_SWAP-conditional.patch deleted file mode 100644 index b7fe5775..00000000 --- a/recipes-containers/docker/files/0001-check-config-make-CONFIG_MEMCG_SWAP-conditional.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 28c115da3c6c2e6edda08c30a779f1ffaab2fbc7 Mon Sep 17 00:00:00 2001 -From: Bruce Ashfield -Date: Fri, 18 Oct 2024 18:27:16 +0000 -Subject: [PATCH] check-config: make CONFIG_MEMCG_SWAP conditional - -Kernel's equal to or greater than 6.1 no longer have this -option. See this kernel commit: - - commit e55b9f96860f6c6026cff97966a740576285e07b - Author: Johannes Weiner - Date: Mon Sep 26 09:57:04 2022 -0400 - - mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbol - - Since 2d1c498072de ("mm: memcontrol: make swap tracking an integral part - of memory control"), CONFIG_MEMCG_SWAP hasn't been a user-visible config - option anymore, it just means CONFIG_MEMCG && CONFIG_SWAP. - - Update the sites accordingly and drop the symbol. - - [ While touching the docs, remove two references to CONFIG_MEMCG_KMEM, - which hasn't been a user-visible symbol for over half a decade. ] - - Link: https://lkml.kernel.org/r/20220926135704.400818-5-hannes@cmpxchg.org - Signed-off-by: Johannes Weiner - Acked-by: Shakeel Butt - Cc: Hugh Dickins - Cc: Michal Hocko - Cc: Roman Gushchin - Signed-off-by: Andrew Morton - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Bruce Ashfield ---- - contrib/check-config.sh | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -Index: import/contrib/check-config.sh -=================================================================== ---- import.orig/contrib/check-config.sh -+++ import/contrib/check-config.sh -@@ -253,9 +253,11 @@ echo 'Optional Features:' - check_flags SECCOMP_FILTER - } - { -- check_flags CGROUP_PIDS -+ if [ "$kernelMajor" -lt 6 ] || [ "$kernelMajor" -eq 6 -a "$kernelMinor" -le 1 ]; then -+ check_flags CGROUP_PIDS - } - { -+ fi - # Kernel v5.8+ removes MEMCG_SWAP_ENABLED and deprecates MEMCG_SWAP. - if [ "$kernelMajor" -lt 5 ] || [ "$kernelMajor" -eq 5 -a "$kernelMinor" -lt 8 ]; then - CODE=${EXITCODE} -- 2.25.1