mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kbuild: Install dtb files as 0644 in Makefile.dtbinst
@ 2024-06-09 19:32 Dragan Simic
  2024-06-09 22:41 ` Dragan Simic
  0 siblings, 1 reply; 4+ messages in thread
From: Dragan Simic @ 2024-06-09 19:32 UTC (permalink / raw)
  To: linux-kbuild; +Cc: masahiroy, nathan, nicolas, linux-kernel

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@manjaro.org>
---
 scripts/Makefile.dtbinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst
index 67956f6496a5..9d920419a62c 100644
--- a/scripts/Makefile.dtbinst
+++ b/scripts/Makefile.dtbinst
@@ -17,7 +17,7 @@ include $(srctree)/scripts/Kbuild.include
 dst := $(INSTALL_DTBS_PATH)
 
 quiet_cmd_dtb_install = INSTALL $@
-      cmd_dtb_install = install -D $< $@
+      cmd_dtb_install = install -D -m 0644 $< $@
 
 $(dst)/%: $(obj)/%
 	$(call cmd,dtb_install)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-10  4:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-09 19:32 [PATCH] kbuild: Install dtb files as 0644 in Makefile.dtbinst Dragan Simic
2024-06-09 22:41 ` Dragan Simic
2024-06-10  4:19   ` Greg KH
2024-06-10  4:57     ` Dragan Simic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®