First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 178671
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Petteri Räty <betelgeuse@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jakub Moc (RETIRED) <jakub@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bluetooth.rules.diff bluetooth.rules.diff patch Jakub Moc (RETIRED) 2007-05-15 21:44 0000 2.34 KB Details | Diff
bluetooth.rules.diff bluetooth.rules.diff patch Jakub Moc (RETIRED) 2007-05-15 21:46 0000 2.50 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 178671 depends on: Show dependency tree
Bug 178671 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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.

------- Comment #1 From Dick Marinus 2007-05-15 19:23:56 0000 -------
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 \

------- Comment #2 From Petteri Räty 2007-05-15 19:51:31 0000 -------
(In reply to comment #1)
> yeah, I suppose we should drop pcmcia rules:
> 

Did you check that our rules file is up2date?

------- Comment #3 From Jakub Moc (RETIRED) 2007-05-15 21:44:25 0000 -------
Created an attachment (id=119401) [edit]
bluetooth.rules.diff

(In reply to comment #2)
> Did you check that our rules file is up2date?

Well, we don't install any, see the diff :) Might be worth merging them.

------- Comment #4 From Jakub Moc (RETIRED) 2007-05-15 21:46:57 0000 -------
Created an attachment (id=119402) [edit]
bluetooth.rules.diff

Bleh; I need coffee...

------- Comment #5 From Petteri Räty 2007-05-15 21:57:05 0000 -------
(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?

------- Comment #6 From Matthias Schwarzott 2007-05-15 22:43:55 0000 -------
(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.

------- Comment #7 From Matthias Schwarzott 2007-05-16 09:09:18 0000 -------
(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.

------- Comment #8 From Petteri Räty 2007-05-16 09:52:30 0000 -------
+*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.
+

First Last Prev Next    No search results available      Search page      Enter new bug