Skip to content

Commit acb2ec3

Browse files
akpm00torvalds
authored andcommitted
kernel/Makefile: don't assume that kernel/gen_ikh_data.sh is executable
If the user downloads and applies patch-5.1.gz using patch(1), the x bit on kernel/gen_ikh_data.sh is not set. /bin/sh: 1: ./kernel/gen_ikh_data.sh: Permission denied Fix this by using CONFIG_SHELL. Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent e065426 commit acb2ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ $(obj)/config_data.gz: $(KCONFIG_CONFIG) FORCE
127127
$(obj)/kheaders.o: $(obj)/kheaders_data.tar.xz
128128

129129
quiet_cmd_genikh = CHK $(obj)/kheaders_data.tar.xz
130-
cmd_genikh = $(srctree)/kernel/gen_ikh_data.sh $@
130+
cmd_genikh = $(CONFIG_SHELL) $(srctree)/kernel/gen_ikh_data.sh $@
131131
$(obj)/kheaders_data.tar.xz: FORCE
132132
$(call cmd,genikh)
133133

0 commit comments

Comments
 (0)