[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <ae087ef1715142f606ba6477ace3e4111972cf8b.1717961381.git.dsimic@manjaro.org>
Date: Sun, 9 Jun 2024 21:32:12 +0200
From: Dragan Simic <dsimic@...jaro.org>
To: linux-kbuild@...r.kernel.org
Cc: masahiroy@...nel.org,
nathan@...nel.org,
nicolas@...sle.eu,
linux-kernel@...r.kernel.org
Subject: [PATCH] kbuild: Install dtb files as 0644 in Makefile.dtbinst
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@...jaro.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)
Powered by blists - more mailing lists