dlan        14/05/22 06:14:50

  Added:                xen-tools-4.2.4-udev-rules.patch
  Log:
  fix missing udev rules, bug #510976, thanks Tomoatsu Shimada
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xAABEFD55)

Revision  Changes    Path
1.1                  
app-emulation/xen-tools/files/xen-tools-4.2.4-udev-rules.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xen-tools-4.2.4-udev-rules.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xen-tools-4.2.4-udev-rules.patch?rev=1.1&content-type=text/plain

Index: xen-tools-4.2.4-udev-rules.patch
===================================================================
--- xen-4.2.4.org/tools/hotplug/Linux/Makefile  2014-05-22 05:39:57.090009337 
+0000
+++ xen-4.2.4/tools/hotplug/Linux/Makefile      2014-05-22 05:41:03.816009464 
+0000
@@ -31,8 +31,8 @@
 XEN_HOTPLUG_SCRIPTS = xen-backend.agent
 
 UDEVVER = 0
-ifeq ($(shell [ -x /sbin/udevadm ] && echo 1),1)
-UDEVVER = $(shell /sbin/udevadm info -V | sed -e 's/^[^0-9]* 
\([0-9]\{1,\}\)[^0-9]\{0,\}/\1/' )
+ifeq ($(shell [ -x $(shell which udevadm) ] && echo 1),1)
+UDEVVER = $(shell $(shell which udevadm) info -V | sed -e 's/^[^0-9]* 
\([0-9]\{1,\}\)[^0-9]\{0,\}/\1/' )
 endif
 ifeq ($(shell [ -x /usr/bin/udevinfo ] && echo 1),1)
 UDEVVER = $(shell /usr/bin/udevinfo -V | sed -e 's/^[^0-9]* 
\([0-9]\{1,\}\)[^0-9]\{0,\}/\1/' )




Reply via email to