thud migration: bluez5: update recipe to version 5.50
https://jira.digi.com/browse/DEL-6412 Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
ac53a74443
commit
cf0165fa42
|
|
@ -50,8 +50,8 @@ GCCVERSION ?= "7.%"
|
||||||
|
|
||||||
# Our layer only provides version 5.41, which we want to keep because
|
# Our layer only provides version 5.41, which we want to keep because
|
||||||
# it was used for Bluetooth certification. However by default the newer
|
# it was used for Bluetooth certification. However by default the newer
|
||||||
# 5.48 version should be used, which is provided by the poky layer.
|
# 5.50 version should be used, which is provided by the poky layer.
|
||||||
PREFERRED_VERSION_bluez5 ?= "5.48"
|
PREFERRED_VERSION_bluez5 ?= "5.50"
|
||||||
|
|
||||||
# Set the PREFERRED_PROVIDER for jpeg functionality based on the MACHINE
|
# Set the PREFERRED_PROVIDER for jpeg functionality based on the MACHINE
|
||||||
# architecture. For armv7a devices libjpeg-turbo should be used to take
|
# architecture. For armv7a devices libjpeg-turbo should be used to take
|
||||||
|
|
|
||||||
|
|
@ -1,37 +1,15 @@
|
||||||
From: Isaac Hermida <isaac.hermida@digi.com>
|
From: Arturo Buzarra <arturo.buzarra@digi.com>
|
||||||
Date: Thu, 3 Aug 2017 14:10:43 +0200
|
Date: Mon, 21 Jan 2019 12:15:06 +0100
|
||||||
Subject: [PATCH] port test-discovery to python3
|
Subject: [PATCH] port test-discovery to python3
|
||||||
|
|
||||||
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
|
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
|
||||||
|
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
|
||||||
---
|
---
|
||||||
test/bluezutils.py | 4 ++--
|
|
||||||
test/test-discovery | 16 +++++++++-------
|
test/test-discovery | 16 +++++++++-------
|
||||||
2 files changed, 11 insertions(+), 9 deletions(-)
|
1 file changed, 9 insertions(+), 7 deletions(-)
|
||||||
|
|
||||||
diff --git a/test/bluezutils.py b/test/bluezutils.py
|
|
||||||
index de08cbdcb712..cd8964082450 100644
|
|
||||||
--- a/test/bluezutils.py
|
|
||||||
+++ b/test/bluezutils.py
|
|
||||||
@@ -15,7 +15,7 @@ def find_adapter(pattern=None):
|
|
||||||
|
|
||||||
def find_adapter_in_objects(objects, pattern=None):
|
|
||||||
bus = dbus.SystemBus()
|
|
||||||
- for path, ifaces in objects.iteritems():
|
|
||||||
+ for path, ifaces in objects.items():
|
|
||||||
adapter = ifaces.get(ADAPTER_INTERFACE)
|
|
||||||
if adapter is None:
|
|
||||||
continue
|
|
||||||
@@ -35,7 +35,7 @@ def find_device_in_objects(objects, device_address, adapter_pattern=None):
|
|
||||||
if adapter_pattern:
|
|
||||||
adapter = find_adapter_in_objects(objects, adapter_pattern)
|
|
||||||
path_prefix = adapter.object_path
|
|
||||||
- for path, ifaces in objects.iteritems():
|
|
||||||
+ for path, ifaces in objects.items():
|
|
||||||
device = ifaces.get(DEVICE_INTERFACE)
|
|
||||||
if device is None:
|
|
||||||
continue
|
|
||||||
diff --git a/test/test-discovery b/test/test-discovery
|
diff --git a/test/test-discovery b/test/test-discovery
|
||||||
index cea77683d726..852611c862ea 100755
|
index cea77683d..852611c86 100755
|
||||||
--- a/test/test-discovery
|
--- a/test/test-discovery
|
||||||
+++ b/test/test-discovery
|
+++ b/test/test-discovery
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
Loading…
Reference in New Issue