]> xenbits.xen.org Git - xenclient/build.git/commitdiff
Install HAL's udev rules to the correct directory
authorThomas Horsten <thomas.horsten@citrix.com>
Thu, 10 Dec 2009 17:28:05 +0000 (17:28 +0000)
committerThomas Horsten <thomas.horsten@citrix.com>
Thu, 10 Dec 2009 17:28:05 +0000 (17:28 +0000)
package/hal/udev-rules-dir.patch [new file with mode: 0644]

diff --git a/package/hal/udev-rules-dir.patch b/package/hal/udev-rules-dir.patch
new file mode 100644 (file)
index 0000000..18510b9
--- /dev/null
@@ -0,0 +1,25 @@
+diff --git a/tools/linux/Makefile.am b/tools/linux/Makefile.am
+index 484ae6a..26d6069 100644
+--- a/tools/linux/Makefile.am
++++ b/tools/linux/Makefile.am
+@@ -1,6 +1,6 @@
+ ## Process this file with automake to produce Makefile.in
+-udevrulesdir = $(udev_prefix)/udev/rules.d
++udevrulesdir = /usr/libexec/rules.d
+ udevrules_DATA = 90-hal.rules
+diff --git a/tools/linux/Makefile.in b/tools/linux/Makefile.in
+index 75ff7c4..87bc7de 100644
+--- a/tools/linux/Makefile.in
++++ b/tools/linux/Makefile.in
+@@ -220,7 +220,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ udev_prefix = @udev_prefix@
+-udevrulesdir = $(udev_prefix)/udev/rules.d
++udevrulesdir = /usr/libexec/rules.d
+ udevrules_DATA = 90-hal.rules
+ AM_CPPFLAGS = \
+       -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \