Thanks, applied as 844408110d046a967ec1d588dd038d95a6065514. Michael
[sent from post-receive hook] On Fri, 12 Dec 2025 15:52:10 +0100, Fabian Pfitzner <[email protected]> wrote: > Since kernel commit a26a6c93edfe ("kbuild: Strip trailing padding bytes from > modules.builtin.modinfo") [1], the resulting modules.builtin.modinfo file gets > copied by objcopy resulting in an executable file. > > It seems, that objcopy detects this file as executable even though > the file is not executable at all. > > Fix this problem by removing the execution bit afterwards. > > I also send a patch upstream to the kernel [2]. > > [1] > https://lore.kernel.org/all/20251105-kbuild-fix-builtin-modinfo-for-kmod-v1-1-b419d8ad4...@kernel.org > [2] > https://lore.kernel.org/all/[email protected]/#t > > Signed-off-by: Fabian Pfitzner <[email protected]> > Message-Id: <[email protected]> > Signed-off-by: Michael Olbrich <[email protected]> > > 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)
