From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2EAwEZ/l/GMY1QAAbAwnHQ (envelope-from ) for ; Mon, 27 Feb 2023 18:17:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8PwQEZ/l/GOQDwAAauVa8A (envelope-from ) for ; Mon, 27 Feb 2023 18:17:19 +0100 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 B57663EB6E for ; Mon, 27 Feb 2023 18:17:18 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=hjO7HCQ8; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=OhOvKta8; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677518238; a=rsa-sha256; cv=none; b=R+V/lgt4moYSnyLaUvDwn1SOdEQ/AHfFLuIyeIzkOdIZVf/JeD5upomTQxZAl1rP+ffWOi +yrmNh+Y+CCzZLWzP7o53U0zCIl9A+nyXXmV1dYpIu8qgSgwG5WdCJd9cmXeSeYUE1RGH8 OeWJ0gBQkVwBdgiE4ZsB1rmA1/GifV0j4InJis2B/EzQnNucOPWezLsRqed8XBhluC3UkZ UW0STIYRYZlgN87r9OmbRKUVMez+PxhrU7BOaBIWgxDZg4BXtI+O92706WpyxxkfZEWssY e3bcZFyDIMMEBo4MtppNiuU13tDbqXhE9nOGDF2WymL3sCQPibGxyXIqOxwyIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=hjO7HCQ8; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=OhOvKta8; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677518238; 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=oP4gLw4fMUJYVFMN5l5kXjNOf5Kohveat34LE2jFmTo=; b=UY536SAzcJS1WI9rFfAEsIYgy4YpwLRKwJZXMH4B+iokllHhfMQcWgO5R7twJyhsakvQd0 wbqLdOp5eY4YD0fcPvGPdNPA2I9ap7hKF64Lg1U/C0hRSGhRp45PeJW+7MI/8BCRTkpcUF ypDnupiKjk830hexSh2Le8VUjeSnwnD2FXHnZjdP1kIqBmPrgaxrpeOLarrQdIFfaTsSVw ArKImpOWP86J0IYX3wzgv4TcvuLdSSIlujDg58MGe+IdVan2+lRbWqSbTSeb4uKi+pCmjB KG6iuUy+w3n7oivTsur5XB8IIfR6+HIskZrH9CQYMgZ1VTYYJuMtcXi6PjPbfg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWh7Z-00054K-UC; Mon, 27 Feb 2023 12:17:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWh7X-00053Q-0p for guix-patches@gnu.org; Mon, 27 Feb 2023 12:17:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWh7W-0005yw-Oa for guix-patches@gnu.org; Mon, 27 Feb 2023 12:17:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWh7W-0006XD-JW for guix-patches@gnu.org; Mon, 27 Feb 2023 12:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61770] [PATCH v3 1/2] gnu: Fix kernel source infodoc patching for linux-libre >= 6.2. References: <333f72ea93790a6ed6124fe7261dfcdf2d448ef2.1677273558.git.leo@famulari.name> In-Reply-To: <333f72ea93790a6ed6124fe7261dfcdf2d448ef2.1677273558.git.leo@famulari.name> Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Feb 2023 17:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61770 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61770@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 61770-submit@debbugs.gnu.org id=B61770.167751817025038 (code B ref 61770); Mon, 27 Feb 2023 17:17:02 +0000 Received: (at 61770) by debbugs.gnu.org; 27 Feb 2023 17:16:10 +0000 Received: from localhost ([127.0.0.1]:48694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWh6f-0006Vl-Qe for submit@debbugs.gnu.org; Mon, 27 Feb 2023 12:16:10 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:54579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWh6Y-0006Uj-Lv for 61770@debbugs.gnu.org; Mon, 27 Feb 2023 12:16:04 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 240395C00D0; Mon, 27 Feb 2023 12:15:57 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 27 Feb 2023 12:15:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=mesmtp; t=1677518157; x=1677604557; bh=oP4gLw4 fMUJYVFMN5l5kXjNOf5Kohveat34LE2jFmTo=; b=hjO7HCQ8h8eCcgeab5Iv68m aZtxE9KcDuNX9GjqE3Qpi/VfgzK2uQxEVJm/y0nRGTWSzkfyAW6sQJscLN4h6OHK eSX83eAsPe4WIq886EGMFyiKCOrLYuU57STP/MVIpCiO9/uADam0jSoDg0ittHne uZAfB6ornILmrVY8EZ4Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1677518157; x=1677604557; bh=oP4gLw4fMUJYVFMN5l5kXjNOf5Kohveat34 LE2jFmTo=; b=OhOvKta8sRA8Jod/Jcq7CZGQaq5UgrfhqmXfEjvI8rwzALwW4Zk j4qCxE79eWl4eqYDNGS3R+HdswhNykM6z9W1uwHzTrtsRXr5k7jIEtLyr8W0OlJ4 8L255MbrI7T56Eae80CQyiCCgD9ekfNDM39dkhf4q5hXiWqIEvP1wDRLrKlMritv lZ3X4t9AfuvNj2k2gKnipWE8JBfHCRj0osAMisxaAattpeEnswJmKNSl8yq9dOyN 16sMsLA+sjlw/VFqSlVF+xEYlFLrkzCIhN4i9Y8kdtTi/SkodP6MESzF3OOq4oN2 X1MAL+Ik0knX3sLlchlwe8kSCplxxSsJfTQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeltddgleegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepnfgvohcuhfgr mhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvg hrnhepffffudejueduveefteefgfevgeeljefhheetheevueetjeeujeekjeejhfdtjeev necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvoh esfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Feb 2023 12:15:56 -0500 (EST) From: Leo Famulari Date: Mon, 27 Feb 2023 12:15:51 -0500 Message-Id: <20230227171552.55069-1-leo@famulari.name> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: X-Migadu-Queue-Id: B57663EB6E X-Spam-Score: -0.09 X-Migadu-Spam-Score: -0.09 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: 6P8CLuGZQJzx From: Maxim Cournoyer * gnu/packages/linux.scm (doc-supported?): Rename to ... (apply-infodoc-patch?): ... new variable with different kernel version constraints. (make-linux-libre): Adjust accordingly. --- gnu/packages/linux.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 3601744c51..22ebaea243 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -863,10 +863,12 @@ (define (config->string options) ;;; Kernel package utilities. ;;; -(define (doc-supported? version) +(define (apply-infodoc-patch? version) ;; Versions older than 5.10 have different enough build scripts that the ;; infodocs patch doesn't apply. - (version>=? version "5.10")) + (and (version>=? version "5.10") + (not (version>=? version "6.2")))) ;patch applied upstream + (define* (make-linux-libre version gnu-revision hash-string supported-systems #:key @@ -879,7 +881,7 @@ (define* (make-linux-libre version gnu-revision hash-string supported-systems (extra-options %default-extra-linux-options) (patches `(,%boot-logo-patch - ,@(if (doc-supported? version) + ,@(if (apply-infodoc-patch? version) (list (search-patch "linux-libre-infodocs-target.patch")) '())))) -- 2.39.1