History

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.

Andrew Morton committed 7 years ago

Commit acb2ec31 parent e0654261 file · +1 −1Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/Makefile+1−1
@@ -127,7 +127,7 @@ $(obj)/config_data.gz: $(KCONFIG_CONFIG) FORCE · 126 unmodified lines
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t