From: Jeremy Katz Subject: [PATCH] /sbin/udev no longer exists Date: Tue, 07 Feb 2006 16:41:19 -0500 Message-ID: <1139348480.2907.35.camel@bree.local.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-QANU4cnbIrPCUtONMSLg" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --=-QANU4cnbIrPCUtONMSLg Content-Type: text/plain Content-Transfer-Encoding: 7bit /sbin/udev no longer exists in upstream udev, so use udevinfo for version info. Signed-off-by: Jeremy Katz --=-QANU4cnbIrPCUtONMSLg Content-Disposition: attachment; filename=xen-udevinfo.patch Content-Type: text/x-patch; name=xen-udevinfo.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit diff -r 2d31ebf402e1 tools/examples/Makefile --- a/tools/examples/Makefile Wed Jan 25 14:36:35 2006 +0100 +++ b/tools/examples/Makefile Tue Feb 7 16:40:15 2006 -0500 @@ -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 --=-QANU4cnbIrPCUtONMSLg Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-QANU4cnbIrPCUtONMSLg--