From: Olaf Hering Date: Thu, 18 Oct 2012 08:35:05 +0000 (+0100) Subject: hotplug: install hotplugpath.sh as data file X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~7720 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=29a1a5fc181ea53db3ce909e095b65aed086a643;p=xen.git hotplug: install hotplugpath.sh as data file rpmlint complains a script helper which is only sourced: [ 1875s] xen-tools.i586: W: script-without-shebang /etc/xen/scripts/hotplugpath.sh [ 1875s] This text file has executable bits set or is located in a path dedicated for [ 1875s] executables, but lacks a shebang and cannot thus be executed. If the file is [ 1875s] meant to be an executable script, add the shebang, otherwise remove the [ 1875s] executable bits or move the file elsewhere. Signed-off-by: Olaf Hering Acked-by: Ian Campbell Committed-by: Ian Campbell --- diff --git a/tools/hotplug/common/Makefile b/tools/hotplug/common/Makefile index fe6ae4b466..18d87aac8c 100644 --- a/tools/hotplug/common/Makefile +++ b/tools/hotplug/common/Makefile @@ -6,8 +6,8 @@ HOTPLUGPATH="hotplugpath.sh" # OS-independent hotplug scripts go in this directory # Xen scripts to go there. -XEN_SCRIPTS = $(HOTPLUGPATH) -XEN_SCRIPT_DATA = +XEN_SCRIPTS = +XEN_SCRIPT_DATA = $(HOTPLUGPATH) genpath-target = $(call buildmakevars2file,$(HOTPLUGPATH)) $(eval $(genpath-target))