Gentoo Archives: gentoo-commits

From: "Yixun Lan (dlan)" <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xen-tools-4.2.4-udev-rules.patch
Date: Thu, 22 May 2014 06:14:54
Message-Id: 20140522061450.BFDB42004E@flycatcher.gentoo.org
1 dlan 14/05/22 06:14:50
2
3 Added: xen-tools-4.2.4-udev-rules.patch
4 Log:
5 fix missing udev rules, bug #510976, thanks Tomoatsu Shimada
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
8
9 Revision Changes Path
10 1.1 app-emulation/xen-tools/files/xen-tools-4.2.4-udev-rules.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xen-tools-4.2.4-udev-rules.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xen-tools-4.2.4-udev-rules.patch?rev=1.1&content-type=text/plain
14
15 Index: xen-tools-4.2.4-udev-rules.patch
16 ===================================================================
17 --- xen-4.2.4.org/tools/hotplug/Linux/Makefile 2014-05-22 05:39:57.090009337 +0000
18 +++ xen-4.2.4/tools/hotplug/Linux/Makefile 2014-05-22 05:41:03.816009464 +0000
19 @@ -31,8 +31,8 @@
20 XEN_HOTPLUG_SCRIPTS = xen-backend.agent
21
22 UDEVVER = 0
23 -ifeq ($(shell [ -x /sbin/udevadm ] && echo 1),1)
24 -UDEVVER = $(shell /sbin/udevadm info -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/' )
25 +ifeq ($(shell [ -x $(shell which udevadm) ] && echo 1),1)
26 +UDEVVER = $(shell $(shell which udevadm) info -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/' )
27 endif
28 ifeq ($(shell [ -x /usr/bin/udevinfo ] && echo 1),1)
29 UDEVVER = $(shell /usr/bin/udevinfo -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/' )