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

[Xen-changelog] /sbin/udev no longer exists in upstream udev, so use udevinfo for



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID dcc2beb8a1d23d6eb34fe19170d3c52b956a8ac0
# Parent  859c8d66b203134180820d694191731d2c195336
/sbin/udev no longer exists in upstream udev, so use udevinfo for
version info.

Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>

diff -r 859c8d66b203 -r dcc2beb8a1d2 tools/examples/Makefile
--- a/tools/examples/Makefile   Tue Feb  7 20:46:13 2006
+++ b/tools/examples/Makefile   Tue Feb  7 23:30:50 2006
@@ -42,7 +42,7 @@
 ifeq ($(findstring $(DI),$(DE)),$(DI))
 HOTPLUGS=install-hotplug install-udev
 else
-ifeq ($(shell [ -x /sbin/udev ] && [ ! -z `/sbin/udev -V` ] && [ `/sbin/udev 
-V` -ge 059 ] && echo 1),1)
+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)
 HOTPLUGS=install-udev
 else
 HOTPLUGS=install-hotplug

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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