]> xenbits.xensource.com Git - people/liuw/stubdom.git/commitdiff
stubdom: fix rpmlint warning spurious-executable-perm
authorOlaf Hering <olaf@aepfle.de>
Thu, 18 Oct 2012 08:35:03 +0000 (09:35 +0100)
committerOlaf Hering <olaf@aepfle.de>
Thu, 18 Oct 2012 08:35:03 +0000 (09:35 +0100)
[ 1758s] xen-tools.x86_64: E: spurious-executable-perm (Badness: 50) /usr/lib/xen/boot/xenstore-stubdom.gz
[ 1758s] The file is installed with executable permissions, but was identified as one
[ 1758s] that probably should not be executable.  Verify if the executable bits are
[ 1758s] desired, and remove if not. NOTE: example scripts should be packaged under
[ 1758s] %docdir/examples, which will avoid this warning.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Makefile

index 618624ccc55b80a7f7ed40c066d3def8a06820ff..969a61b567ab9316c6e9f3c34b2c0f06c7494ef8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -396,7 +396,7 @@ install-grub: pv-grub
 
 install-xenstore: xenstore-stubdom
        $(INSTALL_DIR) "$(DESTDIR)/usr/lib/xen/boot"
-       $(INSTALL_PROG) mini-os-$(XEN_TARGET_ARCH)-xenstore/mini-os.gz "$(DESTDIR)/usr/lib/xen/boot/xenstore-stubdom.gz"
+       $(INSTALL_DATA) mini-os-$(XEN_TARGET_ARCH)-xenstore/mini-os.gz "$(DESTDIR)/usr/lib/xen/boot/xenstore-stubdom.gz"
 
 #######
 # clean