[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 6 of 8] stubdom: install stubdompath.sh as data file

  • To: xen-devel@xxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Mon, 15 Oct 2012 15:44:24 +0200
  • Delivery-date: Mon, 15 Oct 2012 13:44:56 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1350307085 -7200
# Node ID 1cded8c6fc32aef391943e7f4c207d196c9a0819
# Parent  eec0c79c0222dd843cc45bab999338eed6004e30
stubdom: install stubdompath.sh as data file

rpmlint complains a script helper which is only sourced:

[ 1875s] xen-tools.i586: W: script-without-shebang 
[ 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 <olaf@xxxxxxxxx>

diff -r eec0c79c0222 -r 1cded8c6fc32 stubdom/Makefile
--- a/stubdom/Makefile
+++ b/stubdom/Makefile
@@ -386,7 +386,8 @@ install-readme:
 install-ioemu: ioemu-stubdom
-       $(INSTALL_PROG) stubdompath.sh stubdom-dm "$(DESTDIR)$(LIBEXEC)"
+       $(INSTALL_PROG) stubdom-dm "$(DESTDIR)$(LIBEXEC)"
+       $(INSTALL_DATA) stubdompath.sh "$(DESTDIR)$(LIBEXEC)"
        $(INSTALL_DATA) mini-os-$(XEN_TARGET_ARCH)-ioemu/mini-os.gz 

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.