Bug 178671 - net-wireless/bluez-utils-3.10-r1 installs redundant udev rules to a wrong place
|
Bug#:
178671
|
Product: Gentoo Linux
|
Version: 2006.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: trivial
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: betelgeuse@gentoo.org
|
Reported By: jakub@gentoo.org
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: net-wireless/bluez-utils-3.10-r1 installs redundant udev rules to a wrong place
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-05-15 18:48 0000
|
$ equery f bluez-utils | grep /etc/udev
/etc/udev
/etc/udev/bluetooth.rules <-- not needed, nor useful there
/etc/udev/rules.d
/etc/udev/rules.d/70-bluetooth.rules
Looks like this comes from --enable-pcmciarules in configure.
yeah, I suppose we should drop pcmcia rules:
# cat scripts/Makefile.am
if PCMCIARULES
rulesdir = $(sysconfdir)/udev
rules_DATA = bluetooth.rules
udevdir = $(libexecdir)/udev
udev_SCRIPTS = bluetooth_serial
endif
====
Index: bluez-utils-3.10-r1.ebuild
===================================================================
--- bluez-utils-3.10-r1.ebuild (revision 3641)
+++ bluez-utils-3.10-r1.ebuild (working copy)
@@ -48,7 +48,7 @@
--enable-hidd \
--enable-configfiles \
--disable-initscripts \
- --enable-pcmciarules \
+ --disable-pcmciarules \
--enable-bccmd \
--enable-avctrl \
--enable-hid2hci \
(In reply to comment #1)
> yeah, I suppose we should drop pcmcia rules:
>
Did you check that our rules file is up2date?
(In reply to comment #3)
>
> Well, we don't install any, see the diff :) Might be worth merging them.
>
Probably. I guess I should change the install location of the helper too:
betelgeuse@pena ~ $ qlist bluez | grep serial
/usr/libexec/udev/bluetooth_serial
udev people: Should be /lib/udev or?
(In reply to comment #5)
> (In reply to comment #3)
> >
> > Well, we don't install any, see the diff :) Might be worth merging them.
> >
>
> Probably. I guess I should change the install location of the helper too:
>
> betelgeuse@pena ~ $ qlist bluez | grep serial
> /usr/libexec/udev/bluetooth_serial
>
> udev people: Should be /lib/udev or?
>
If this is to be called from an udev rule, then yes.
Or to be multilib compatible you can use /lib/$(get_libdir) - but that has not
been checked to be used everywhere.
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #3)
> > >
> > > Well, we don't install any, see the diff :) Might be worth merging them.
> > >
> >
> > Probably. I guess I should change the install location of the helper too:
> >
> > betelgeuse@pena ~ $ qlist bluez | grep serial
> > /usr/libexec/udev/bluetooth_serial
> >
> > udev people: Should be /lib/udev or?
> >
>
> If this is to be called from an udev rule, then yes.
> Or to be multilib compatible you can use /lib/$(get_libdir) - but that has not
> been checked to be used everywhere.
>
Had a look at the files:
Just move the rules-file to /etc/udev/rules.d/.
And the other file to /lib/$(get_libdir)
Then you can remove the path to it in the rules, as udev auto-searches
/lib/udev.
+*bluez-utils-3.10-r2 (16 May 2007)
+
+ 16 May 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +bluez-utils-3.10-r2.ebuild:
+ Install pcmcia udev rules and the helper to right directories. Fixes bug
+ #178671.
+