Re: [PATCH] kbuild: Install dtb files as 0644 in Makefile.dtbinst

From: Greg KH
Date: Mon Jun 10 2024 - 00:19:28 EST


On Mon, Jun 10, 2024 at 12:41:54AM +0200, Dragan Simic wrote:
> +Cc: stable@xxxxxxxxxxxxxxx
> +Cc: didi.debian@xxxxxxxxx
>
> On 2024-06-09 21:32, Dragan Simic wrote:
> > The compiled dtb files aren't executable, so install them with 0644 as
> > their
> > permission mode, instead of defaulting to 0755 as the mode.
> >
> > Signed-off-by: Dragan Simic <dsimic@xxxxxxxxxxx>
>
> Actually, some Linux distributions, including Debian, [1][2] already include
> fixes in their kernel package builds to change the file permissions to 0644.
> Thus, let's have this fix propagated into the stable kernels, to allow such
> distributions to remove their downstream fixes.
>
> Fixes: aefd80307a05 ("kbuild: refactor Makefile.dtbinst more")
>
> [1] https://salsa.debian.org/kernel-team/linux/-/merge_requests/642
> [2] https://salsa.debian.org/kernel-team/linux/-/merge_requests/749


<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>