Skip to contentSkip to conversation

/sbin/udev no longer exists

PATCH New Jeremy Katz 1 participant 1 message Feb 7, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 /sbin/udev no longer exists

/sbin/udev no longer exists in upstream udev, so use udevinfo for version info.

tools/examples/Makefile +1 -1
diff -r 2d31ebf402e1 tools/examples/Makefile
@@ -42,7 +42,7 @@ ifeq ($(findstring $(DI),$(DE)),$(DI))
 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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel