* [PATCH] Install udev rules to /lib/udev/rules.d
@ 2009-01-07 17:53 Scott James Remnant
2009-01-07 18:40 ` Kay Sievers
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Scott James Remnant @ 2009-01-07 17:53 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 1265 bytes --]
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@canonical.com
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Install udev rules to /lib/udev/rules.d
2009-01-07 17:53 [PATCH] Install udev rules to /lib/udev/rules.d Scott James Remnant
@ 2009-01-07 18:40 ` Kay Sievers
2009-01-07 19:51 ` Marcel Holtmann
2009-01-07 21:43 ` Robby Workman
2 siblings, 0 replies; 4+ messages in thread
From: Kay Sievers @ 2009-01-07 18:40 UTC (permalink / raw)
To: linux-hotplug
On Wed, Jan 7, 2009 at 18:53, Scott James Remnant <scott@canonical.com> wrote:
> 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:
Applied. Also bumped the udev requirement and used @ for the abstract socket.
Thanks,
Kay
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Install udev rules to /lib/udev/rules.d
2009-01-07 17:53 [PATCH] Install udev rules to /lib/udev/rules.d Scott James Remnant
2009-01-07 18:40 ` Kay Sievers
@ 2009-01-07 19:51 ` Marcel Holtmann
2009-01-07 21:43 ` Robby Workman
2 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2009-01-07 19:51 UTC (permalink / raw)
To: linux-hotplug
Hi Kay,
> > 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:
>
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Install udev rules to /lib/udev/rules.d
2009-01-07 17:53 [PATCH] Install udev rules to /lib/udev/rules.d Scott James Remnant
2009-01-07 18:40 ` Kay Sievers
2009-01-07 19:51 ` Marcel Holtmann
@ 2009-01-07 21:43 ` Robby Workman
2 siblings, 0 replies; 4+ messages in thread
From: Robby Workman @ 2009-01-07 21:43 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 962 bytes --]
On Wed, 07 Jan 2009 20:51:48 +0100
Marcel Holtmann <marcel@holtmann.org> wrote:
> > > 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:
> >
> > 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?
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-07 21:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-07 17:53 [PATCH] Install udev rules to /lib/udev/rules.d Scott James Remnant
2009-01-07 18:40 ` Kay Sievers
2009-01-07 19:51 ` Marcel Holtmann
2009-01-07 21:43 ` Robby Workman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).