/sbin/udev no longer exists
PATCH 1/1 /sbin/udev no longer exists
/sbin/udev no longer exists in upstream udev, so use udevinfo for version info.
Signed-off-by Jeremy Katz <[email protected]>
tools/examples/Makefile +1 -1
@@ -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