Message ID | 20220122203017.23306-1-ansuelsmth@gmail.com |
---|---|
State | Accepted |
Delegated to: | Paul Spooren |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=G7iKiOXv; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Dhq7Lt2P; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Jh7HF6Svyz9sCD for <incoming@patchwork.ozlabs.org>; Sun, 23 Jan 2022 07:33:10 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=1zbxYBy8NaPpJr7i8FS4pCn3aeYqRV8FR/Gw0akR79o=; b=G7iKiOXvJiXHPz I1dX4aytgtzyJoUfAcJLwp5TQPvgqShNGMro8ijo8iJkQjezyBgZRpTO1SozOQIUGk4UPhest3mEj Rf7ZIgqg1aIVG6NNlZLGOWSxUtKYlo9fVANuW+WUawdYXkUosmYP8zc0nt8CcD+/h1yKeIexC0Wxj 17uZ4ZpdPx9lA7gXtg5+2HLO+Iz8e5kpnewb9xjnTU7dn81E+uE32s+GppYduCFmXsA4DPNQg8d6P Q5a9/x0IerMz7PKudbWPgJCDRnQepS7GscL93qT1N+wYC0zWvEbX17OrsHeOdgt1aKassqFE1JASW qD9ZUSzQqp+pXG7QLiZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBN1u-0002wp-HW; Sat, 22 Jan 2022 20:30:34 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBN1q-0002wK-Lo for openwrt-devel@lists.openwrt.org; Sat, 22 Jan 2022 20:30:32 +0000 Received: by mail-ed1-x532.google.com with SMTP id m4so48725755edb.10 for <openwrt-devel@lists.openwrt.org>; Sat, 22 Jan 2022 12:30:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=InF+heJEY6nYwVd64ooDgVskdRJN1zr43jzU6kVcIgk=; b=Dhq7Lt2PC/I2bxE4gD0399CezkW5u/J+xciIp6Uc7D/9vn2CcZKvmNE6R7mdI7NAVE kjSR4LKp1BnurFODthX8UlmihDtIJN1i6nxQoUI6OJVs+MrYmjLliH41a5tuFYA2pyMn bBIHvvxIyxec72cU5XMh9jjbrqSb/T01fjbZLPfjsNgXQPSr6EyfBrYnu9fGV18j9bF+ AxkZ22ZwqAXY7V6UmouAYbA+VIX7IR1McmrlghFOlL+OuagaBFkaoHq9PIPoSqJRamFq yPGhx/iJqRY9SfAYkjdxmcbB1jivoq4fSFXNWZNcuVbHZhLq59acnBVeZG1Hhn5K3ryE aWdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=InF+heJEY6nYwVd64ooDgVskdRJN1zr43jzU6kVcIgk=; b=eYAVUv9Rg8BFGvJ1YwDVXR7rPRnFoH50ZFIZu7K6MqJOqi4KlEuWfOpin/0WwOO8qH 8NuDmf1ad0yS2IuHZMDfuNZLeBiBS25O4m5NrzQwZyP6IaRfexWOOVp6LF0Jh+GtNqV4 JV2k0jm3zhybbWkpzDmwmE8J1P95gl/9YVEa/tMbD+UEA3zOxwFTFNyNNQfGkhXA7WB1 y25P6Rdfzi97R6gzg4fg4YJnN05JKr9QKBMzBlw25bi/BghYGBinehweEGmvxWAn8+WF nAiYkLJHPXkiP3RsJRhyuPR6Lmi6wXrPJRdSPVPpGbncXywPGqOa2sBVCWarDbaij6Yr dCYA== X-Gm-Message-State: AOAM5311p8WuISDtKoSyq4wk7g8ALtiLqyh7kyWu7qP9IIZNuPo/4HvG RSq9FVhvmA2s3BWwbabP3lh0Kv/jeDk= X-Google-Smtp-Source: ABdhPJzSYeuynLqnPYf9v7IViIKXlTOr+THPHLLkyJv8HacMTKCmAwk2lSHCEzmVVb4V3fgfJqNRtQ== X-Received: by 2002:aa7:d554:: with SMTP id u20mr9555090edr.322.1642883427643; Sat, 22 Jan 2022 12:30:27 -0800 (PST) Received: from localhost.localdomain (93-42-71-246.ip85.fastwebnet.it. [93.42.71.246]) by smtp.googlemail.com with ESMTPSA id lv15sm3167303ejb.51.2022.01.22.12.30.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jan 2022 12:30:27 -0800 (PST) From: Ansuel Smith <ansuelsmth@gmail.com> To: openwrt-devel@lists.openwrt.org Cc: Ansuel Smith <ansuelsmth@gmail.com> Subject: [PATCH] kernel: bpf-headers: fix build error when testing kernel is used Date: Sat, 22 Jan 2022 21:30:17 +0100 Message-Id: <20220122203017.23306-1-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220122_123030_749679_F9A164AA X-CRM114-Status: GOOD ( 10.58 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Now that we have separate files for each kernel version, only the version/hash for the target kernel are available. This cause a missing hash error (and wrong kernel version) for bpf-headers when a te [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:532 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [ansuelsmth[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
kernel: bpf-headers: fix build error when testing kernel is used
|
expand
|
diff --git a/package/kernel/bpf-headers/Makefile b/package/kernel/bpf-headers/Makefile index f3c0584007..b3f1c0c7f3 100644 --- a/package/kernel/bpf-headers/Makefile +++ b/package/kernel/bpf-headers/Makefile @@ -14,6 +14,9 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=linux PKG_PATCHVER:=5.10 +# Manually include kernel version/hash from kernel details file +include $(INCLUDE_DIR)/kernel-$(PKG_PATCHVER) + PKG_VERSION:=$(PKG_PATCHVER)$(strip $(LINUX_VERSION-$(PKG_PATCHVER))) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=$(LINUX_SITE)
Now that we have separate files for each kernel version, only the version/hash for the target kernel are available. This cause a missing hash error (and wrong kernel version) for bpf-headers when a testing kernel version is used for the current target. Fix this error by manually including the kernel version/hash file for the specific kernel version requested. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> --- package/kernel/bpf-headers/Makefile | 3 +++ 1 file changed, 3 insertions(+)