From: Michael Olbrich <m.olbrich@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Michael Olbrich <m.olbrich@pengutronix.de>
Subject: [DistroKit] [PATCH 2/2] kernel: backport modules.builtin.modinfo permission fix
Date: Thu, 11 Dec 2025 10:35:45 +0100 [thread overview]
Message-ID: <20251211093545.1050096-2-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20251211093545.1050096-1-m.olbrich@pengutronix.de>
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 <m.olbrich@pengutronix.de>
---
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
next prev parent reply other threads:[~2025-12-11 9:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-11 9:35 [DistroKit] [PATCH 1/2] kernel: import rule from ptxdist-2025.11.0 Michael Olbrich
2025-12-11 9:35 ` Michael Olbrich [this message]
2025-12-11 9:59 ` Robert Schwebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251211093545.1050096-2-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=distrokit@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox