summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-06-22 16:33:24 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-06-22 16:33:24 +0000
commitb4470cb96edf6c00ba66d03843de169ca3486804 (patch)
tree7f6ffa4813ba6261a16130a617377cab42e5db48 /app-emulation/xen-tools/files
parentDo apply 1.6.0.0 patch to 1.6.0.1. (diff)
downloadhistorical-b4470cb96edf6c00ba66d03843de169ca3486804.tar.gz
historical-b4470cb96edf6c00ba66d03843de169ca3486804.tar.bz2
historical-b4470cb96edf6c00ba66d03843de169ca3486804.zip
Udev rules fix, closes #236819. Thanks to Frank Ridderbusch for the shiny patch
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/xen-tools/files')
-rw-r--r--app-emulation/xen-tools/files/xen-tools-3.4.0-udevinfo.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/xen-tools/files/xen-tools-3.4.0-udevinfo.patch b/app-emulation/xen-tools/files/xen-tools-3.4.0-udevinfo.patch
new file mode 100644
index 000000000000..165db6a77514
--- /dev/null
+++ b/app-emulation/xen-tools/files/xen-tools-3.4.0-udevinfo.patch
@@ -0,0 +1,11 @@
+--- xen-3.4.0/tools/hotplug/Linux/Makefile.orig 2009-06-10 10:54:12.000000000 +0200
++++ xen-3.4.0/tools/hotplug/Linux/Makefile 2009-06-10 10:57:24.000000000 +0200
+@@ -36,7 +36,7 @@
+ ifeq ($(findstring $(DI),$(DE)),$(DI))
+ HOTPLUGS=install-hotplug install-udev
+ else
+-ifeq ($(shell [ -x /usr/bin/udevinfo ] && [ `/usr/bin/udevinfo -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/'` -ge 059 ] && echo 1),1)
++ifeq ($(shell [ -x /sbin/udevadm ] && [ `/sbin/udevadm info -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/'` -ge 059 ] && echo 1),1)
+ HOTPLUGS=install-udev
+ else
+ HOTPLUGS=install-hotplug