[PATCH] Install udev rules to /lib/udev/rules.d

Scott James Remnant scott at canonical.com
Wed Jan 7 09:53:05 PST 2009


udev now installs rules into /lib/udev/rules.d by default,
leaving /etc/udev/rules.d for user rules and overrides only.

HAL should be updated to follow suit:


diff -Nur -x '*.orig' -x '*~' hal-0.5.12~rc1/tools/linux/Makefile.am hal-0.5.12~rc1.new/tools/linux/Makefile.am
--- hal-0.5.12~rc1/tools/linux/Makefile.am	2008-11-27 14:32:24.000000000 +0000
+++ hal-0.5.12~rc1.new/tools/linux/Makefile.am	2009-01-07 17:26:42.000000000 +0000
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-udevrulesdir = $(sysconfdir)/udev/rules.d
+udevrulesdir = /lib/udev/rules.d
 udevrules_DATA = 90-hal.rules
 
 
diff -Nur -x '*.orig' -x '*~' hal-0.5.12~rc1/tools/linux/Makefile.in hal-0.5.12~rc1.new/tools/linux/Makefile.in
--- hal-0.5.12~rc1/tools/linux/Makefile.in	2008-11-27 15:04:17.000000000 +0000
+++ hal-0.5.12~rc1.new/tools/linux/Makefile.in	2009-01-07 17:26:49.000000000 +0000
@@ -212,7 +212,7 @@
 target_alias = @target_alias@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-udevrulesdir = $(sysconfdir)/udev/rules.d
+udevrulesdir = /lib/udev/rules.d
 udevrules_DATA = 90-hal.rules
 AM_CPPFLAGS = \
 	-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \


Scott
-- 
Scott James Remnant
scott at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20090107/6f1e47ee/attachment.pgp 


More information about the hal mailing list