ia64/xen-unstable

changeset 8788:dcc2beb8a1d2

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

Signed-off-by: Jeremy Katz <katzj@redhat.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Feb 08 00:30:50 2006 +0100 (2006-02-08)
parents 859c8d66b203
children bc2ac5e87f99
files tools/examples/Makefile
line diff
     1.1 --- a/tools/examples/Makefile	Tue Feb 07 20:46:13 2006 +0000
     1.2 +++ b/tools/examples/Makefile	Wed Feb 08 00:30:50 2006 +0100
     1.3 @@ -42,7 +42,7 @@ DE = $(shell readlink -f $(DESTDIR))
     1.4  ifeq ($(findstring $(DI),$(DE)),$(DI))
     1.5  HOTPLUGS=install-hotplug install-udev
     1.6  else
     1.7 -ifeq ($(shell [ -x /sbin/udev ] && [ ! -z `/sbin/udev -V` ] && [ `/sbin/udev -V` -ge 059 ] && echo 1),1)
     1.8 +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)
     1.9  HOTPLUGS=install-udev
    1.10  else
    1.11  HOTPLUGS=install-hotplug