From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 11 Dec 2025 10:35:52 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vTd5U-00AFK4-1o for lore@lore.pengutronix.de; Thu, 11 Dec 2025 10:35:52 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vTd5U-0002Zh-3o; Thu, 11 Dec 2025 10:35:52 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vTd5P-0002YU-Vb; Thu, 11 Dec 2025 10:35:47 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vTd5P-0056c5-2Y; Thu, 11 Dec 2025 10:35:47 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1vTd5P-00000004Sna-367T; Thu, 11 Dec 2025 10:35:47 +0100 From: Michael Olbrich To: distrokit@pengutronix.de Date: Thu, 11 Dec 2025 10:35:45 +0100 Message-ID: <20251211093545.1050096-2-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251211093545.1050096-1-m.olbrich@pengutronix.de> References: <20251211093545.1050096-1-m.olbrich@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 2/2] kernel: backport modules.builtin.modinfo permission fix X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Olbrich Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false With Linux kernel 6.18 and some architectures and objcopy versions modules.builtin.modinfo is executable. This makes no sense and our sanity checker complains about it. Backport the fix for this from PTXdist master. Signed-off-by: Michael Olbrich --- rules/kernel.make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/kernel.make b/rules/kernel.make index 9cdc95a91b8b..e974304043f6 100644 --- a/rules/kernel.make +++ b/rules/kernel.make @@ -274,6 +274,7 @@ $(STATEDIR)/kernel.install: @$(call targetinfo) ifdef PTXCONF_KERNEL_MODULES_INSTALL @$(call world/install, KERNEL) + @chmod -x $(KERNEL_PKGDIR)/lib/modules/*/modules.builtin.modinfo endif @$(call world/dtb, KERNEL) @$(call world/dtbo, KERNEL) -- 2.47.3