1 |
patrick 09/06/22 16:33:24 |
2 |
|
3 |
Added: xen-tools-3.4.0-udevinfo.patch |
4 |
Log: |
5 |
Udev rules fix, closes #236819. Thanks to Frank Ridderbusch for the shiny patch |
6 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-emulation/xen-tools/files/xen-tools-3.4.0-udevinfo.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen-tools/files/xen-tools-3.4.0-udevinfo.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen-tools/files/xen-tools-3.4.0-udevinfo.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: xen-tools-3.4.0-udevinfo.patch |
15 |
=================================================================== |
16 |
--- xen-3.4.0/tools/hotplug/Linux/Makefile.orig 2009-06-10 10:54:12.000000000 +0200 |
17 |
+++ xen-3.4.0/tools/hotplug/Linux/Makefile 2009-06-10 10:57:24.000000000 +0200 |
18 |
@@ -36,7 +36,7 @@ |
19 |
ifeq ($(findstring $(DI),$(DE)),$(DI)) |
20 |
HOTPLUGS=install-hotplug install-udev |
21 |
else |
22 |
-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) |
23 |
+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) |
24 |
HOTPLUGS=install-udev |
25 |
else |
26 |
HOTPLUGS=install-hotplug |