[meta-lsi] [PATCH 37/41] bluez: Force to use only version bluez5 instead of bluez4

Daniel Dragomir daniel.dragomir at windriver.com
Thu Jan 28 04:29:40 PST 2016


By default, both versions of bluez package were compiled and this
cause some warnings and errors because both pachages are trying to
install same files in same locations:

WARNING: The recipe bluez4/bluez5 is trying to install files into a
shared area when those files already exist.
ERROR: Recipe bluez4 is trying to change PR from 'r5' to 'r0'. This
will cause do_package_write_* failures since the incorrect data will
be used and they will be unable to find the right workdir.
ERROR: Function failed: read_subpackage_metadata

Signed-off-by: Daniel Dragomir <daniel.dragomir at windriver.com>
---
 recipes-connectivity/libpcap/libpcap_1.4.0.bbappend        | 1 +
 recipes-core/packagegroups/packagegroup-core-large-boot.bb | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 recipes-connectivity/libpcap/libpcap_1.4.0.bbappend

diff --git a/recipes-connectivity/libpcap/libpcap_1.4.0.bbappend b/recipes-connectivity/libpcap/libpcap_1.4.0.bbappend
new file mode 100644
index 0000000..30ffe44
--- /dev/null
+++ b/recipes-connectivity/libpcap/libpcap_1.4.0.bbappend
@@ -0,0 +1 @@
+PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez5"
diff --git a/recipes-core/packagegroups/packagegroup-core-large-boot.bb b/recipes-core/packagegroups/packagegroup-core-large-boot.bb
index 39c82d3..d0508ee 100644
--- a/recipes-core/packagegroups/packagegroup-core-large-boot.bb
+++ b/recipes-core/packagegroups/packagegroup-core-large-boot.bb
@@ -106,7 +106,7 @@ RDEPENDS_${PN} = "\
     setserial \
     tcp-wrappers \
     mdadm \
-    bluez4 \
+    bluez5 \
     groff \
     iptables \
     elfutils \
-- 
1.9.1



More information about the meta-lsi mailing list