Patchwork [V2,3/4] bluez5: conflicts with bluez4

login
register
mail settings
Submitter Ross Burton
Date March 13, 2013, 4:42 a.m.
Message ID <CAJTo0LYBe10HhsMtynzpuS5arEDtXBFxcLKqryPFWEV=7Q7SbQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/46109/
State New
Headers show

Comments

Ross Burton - March 13, 2013, 4:42 a.m.
But bluez4 doesn't provide bluez5 and vice versa - the runtime API are
different.

Ross
Saul Wold - March 22, 2013, 9:23 p.m.
On 03/12/2013 09:42 PM, Burton, Ross wrote:
> But bluez4 doesn't provide bluez5 and vice versa - the runtime API are
> different.
>
Is there going to be a v3 version that has RREPLACES since they can not 
co-exisit, but they also don't PROVIDE.  As Ross pointed out in a 
previous email, the package manager needs to be able to remove the older 
bluez package when migrating from 4 -> 5.

Thanks

    Sau!



> Ross
> --
> Ross Burton
> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>
> On Tuesday, 12 March 2013 at 14:48, Martin Jansa wrote:
>
>> On Tue, Mar 12, 2013 at 07:03:14PM +0200, Cristian Iorga wrote:
>>> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com
>>> <mailto:cristian.iorga@intel.com>>
>>> ---
>>> meta/recipes-connectivity/bluez5/bluez5_5.3.bb <http://bluez5_5.3.bb>
>>> | 2 ++
>>> 1 file changed, 2 insertions(+)
>>>
>>> diff --git a/meta/recipes-connectivity/bluez5/bluez5_5.3.bb
>>> <http://bluez5_5.3.bb>
>>> b/meta/recipes-connectivity/bluez5/bluez5_5.3.bb <http://bluez5_5.3.bb>
>>> index 311562f..5963483 100644
>>> --- a/meta/recipes-connectivity/bluez5/bluez5_5.3.bb
>>> <http://bluez5_5.3.bb>
>>> +++ b/meta/recipes-connectivity/bluez5/bluez5_5.3.bb
>>> <http://bluez5_5.3.bb>
>>> @@ -6,6 +6,8 @@ SRC_URI += "file://bluetooth.conf \
>>> SRC_URI[md5sum] = "44de20f6422bf90a01b8df48e7dfe4ed"
>>> SRC_URI[sha256sum] =
>>> "828e2cd1109835c2fc1d731fb7fd7b46951044e451cc8556a37e1312d8c8c9a6"
>>> +RCONFLICTS_${PN} = "bluez4"
>>
>> That's not enough for upgrade path, add RREPLACES/RPROVIDES too.
>>> +
>>> do_install_append() {
>>> install -d ${D}${sysconfdir}/bluetooth/
>>> install -m 0644 ${S}/profiles/audio/audio.conf
>>> ${D}/${sysconfdir}/bluetooth/
>>> --
>>> 1.7.10.4
>>>
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> <mailto:Openembedded-core@lists.openembedded.org>
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>> --
>> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
>> <mailto:Martin.Jansa@gmail.com>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> <mailto:Openembedded-core@lists.openembedded.org>
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

Patch

diff --git a/meta/recipes-connectivity/bluez5/bluez5_5.3.bbb/meta/recipes-connectivity/bluez5/
bluez5_5.3.bb
index 311562f..5963483 100644
--- a/meta/recipes-connectivity/bluez5/bluez5_5.3.bb
+++ b/meta/recipes-connectivity/bluez5/bluez5_5.3.bb
@@ -6,6 +6,8 @@  SRC_URI += "file://bluetooth.conf \
SRC_URI[md5sum] = "44de20f6422bf90a01b8df48e7dfe4ed"
SRC_URI[sha256sum] =
"828e2cd1109835c2fc1d731fb7fd7b46951044e451cc8556a37e1312d8c8c9a6"
+RCONFLICTS_${PN} = "bluez4"


That's not enough for upgrade path, add RREPLACES/RPROVIDES too.