Skip to contentSkip to conversation

BlueZ 5 experimental packages

PATCH Superseded Cristian Iorga 4 participants 6 messages Jul 15, 2013 – Jul 16, 2013

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v2 cover BlueZ 5 experimental packages

This sets of patches adds bluez5 recipes as experimental packages. BlueZ 5.X is not an upgrade for Bluez 4.x, as such, no upgrade is provided/possible.
The two versions of the BT stack also conflicts each other.

The following changes since commit 74e403705e25afec656b5e40921771a9c29bdc40:

yocto-kernel: make BBLAYERS parsing more robust (2013-07-13 18:23:39 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ciorga/bluez57v2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ciorga/bluez57v2

Cristian Iorga (2):
bluez5: new package for v5.7
bluez4: conflicts with/replaces bluez5

 meta/recipes-connectivity/bluez/bluez4_4.101.bb    |    3 ++
 .../bluez5/bluez5-5.7/bluetooth.conf               |   16 +++++++
 meta/recipes-connectivity/bluez5/bluez5.inc        |   45 ++++++++++++++++++++
 meta/recipes-connectivity/bluez5/bluez5_5.7.bb     |   37 ++++++++++++++++
 4 files changed, 101 insertions(+)
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5-5.7/bluetooth.conf
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5.inc
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5_5.7.bb
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH v2 2/2 bluez4: conflicts with/replaces bluez5

- RCONFLICTS/RREPLACES bluez5

---
 meta/recipes-connectivity/bluez/bluez4_4.101.bb |    3 +++
 1 file changed, 3 insertions(+)
meta/recipes-connectivity/bluez/bluez4_4.101.bb +3 -0
index f48adfd..b91c9c3 100644
@@ -11,6 +11,9 @@ SRC_URI += "file://bluetooth.conf \
 SRC_URI[md5sum] = "fb42cb7038c380eb0e2fa208987c96ad"
 SRC_URI[sha256sum] = "59738410ade9f0e61a13c0f77d9aaffaafe49ba9418107e4ad75fe52846f7487"
 
+RCONFLICTS_${PN} = "bluez5"
+RREPLACES_${PN} = "bluez5"
+
 do_install_append() {
 	install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
 	install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/
Signature · 1 line
1.7.10.4
#2 lore raw

Re: [PATCH 2/2] bluez4: conflicts with/replaces bluez5

Quoted 12 lines · Cristian Iorga

- RCONFLICTS/RREPLACES bluez5

---
  meta/recipes-connectivity/bluez/bluez4_4.101.bb |    3 +++
  1 file changed, 3 insertions(+)
meta/recipes-connectivity/bluez/bluez4_4.101.bb +0 -0
index f48adfd..b91c9c3 100644

meta/recipes-connectivity/bluez/bluez4_4.101.bb SRC_URI += "file://bluetooth.conf \ · line 16

Quoted 6 lines
meta/recipes-connectivity/bluez/bluez4_4.101.bb +3 -0
@@ -11,6 +11,9 @@ SRC_URI += "file://bluetooth.conf \
  SRC_URI[md5sum] = "fb42cb7038c380eb0e2fa208987c96ad"
  SRC_URI[sha256sum] = "59738410ade9f0e61a13c0f77d9aaffaafe49ba9418107e4ad75fe52846f7487"
 
+RCONFLICTS_${PN} = "bluez5"
+RREPLACES_${PN} = "bluez5"
+

Is the RREPLACES correct here and in the bluez5 recipe?

I know they conflict, but I did not think they could replace each other.

Sau!

Quoted 4 lines
meta/recipes-connectivity/bluez/bluez4_4.101.bb +0 -0
  do_install_append() {
  	install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
  	install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/
#3 lore raw

Re: [PATCH 2/2] bluez4: conflicts with/replaces bluez5

In reply to Cristian Iorga

meta/recipes-connectivity/bluez/bluez4_4.101.bb SRC_URI += "file://bluetooth.conf \ · line 15

Quoted 2 lines
meta/recipes-connectivity/bluez/bluez4_4.101.bb +2 -0
+RCONFLICTS_${PN} = "bluez5"
+RREPLACES_${PN} = "bluez5"

I'm not sure that this necessarily does quite what you want. What exactly were you trying to achieve with that RREPLACES?

p.

#4 lore raw

Re: [PATCH 2/2] bluez4: conflicts with/replaces bluez5

Quoted 5 lines · Phil Blundell

meta/recipes-connectivity/bluez/bluez4_4.101.bb SRC_URI += "file://bluetooth.conf \ · line 15

Quoted 2 lines
meta/recipes-connectivity/bluez/bluez4_4.101.bb +2 -0
+RCONFLICTS_${PN} = "bluez5"
+RREPLACES_${PN} = "bluez5"

I'm not sure that this necessarily does quite what you want. What exactly were you trying to achieve with that RREPLACES?

I remember when this series was first published there was a long debate over the exact lines required. That said, I can't see why we need replaces either.

Ross

#5 lore raw

Re: [PATCH 2/2] bluez4: conflicts with/replaces bluez5

Please see my V3 cover letter to observe the reasoning behind RREPLACES presence.

Thanks,
Cristian

-----Original Message-----
From: Burton, Ross [mailto:[email protected]]
Sent: Monday, July 15, 2013 8:01 PM
To: Phil Blundell
Cc: Iorga, Cristian; [email protected]
Subject: Re: [OE-core] [PATCH 2/2] bluez4: conflicts with/replaces bluez5

Quoted 5 lines · Phil Blundell

meta/recipes-connectivity/bluez/bluez4_4.101.bb SRC_URI += "file://bluetooth.conf \ · line 15

Quoted 2 lines
meta/recipes-connectivity/bluez/bluez4_4.101.bb +2 -0
+RCONFLICTS_${PN} = "bluez5"
+RREPLACES_${PN} = "bluez5"

I'm not sure that this necessarily does quite what you want. What exactly were you trying to achieve with that RREPLACES?

I remember when this series was first published there was a long debate over the exact lines required. That said, I can't see why we need replaces either.

Ross