Install udev rules to /lib/udev/rules.d
PATCH 1/1 Install udev rules to /lib/udev/rules.d
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:
tools/linux/Makefile.am +1 -1
@@ -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
tools/linux/Makefile.in +1 -1
@@ -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
Signature · 2 lines
Scott James Remnant [email protected]
Kay Sievers
AppliedQuoted 4 lines · Scott James Remnant
udev now installs rules into
/lib/udev/rules.dby default, leaving/etc/udev/rules.dfor user rules and overrides only.HAL should be updated to follow suit:
Applied. Also bumped the udev requirement and used @ for the abstract socket.
Thanks,
Kay
Hi Kay,
Quoted 6 lines
Quoted 4 lines
udev now installs rules into
/lib/udev/rules.dby default, leaving/etc/udev/rules.dfor user rules and overrides only.HAL should be updated to follow suit:
Applied. Also bumped the udev requirement and used @ for the abstract socket.
do you expect an application to install its rules in /lib/udev/rules.d now. I was assuming this is for udev's own rules only?
Regards
Marcel
Quoted 10 lines · On Wed, 07 Jan 2009 20:51:48 +0100 Marcel Holtmann <[email protected]> wrote:
Quoted 7 lines
Quoted 4 lines
udev now installs rules into
/lib/udev/rules.dby default, leaving/etc/udev/rules.dfor user rules and overrides only.HAL should be updated to follow suit:
Applied. Also bumped the udev requirement and used @ for the abstract socket.
do you expect an application to install its rules in
/lib/udev/rules.dnow. I was assuming this is for udev's own rules only?
It's my understanding (and I say this with the hope/expectation that I'll be corrected if I'm wrong) that /lib/udev/rules.d/ is where *most* package rules should go -- basically, anything for which the sysadmin
should have no reason to edit. /etc/udev/rules.d/ would be for
system-specific rules and/or generated rules (e.g. persistent optical and network devices rules files, and other things that might change over the life of the system).
-RW