From b64908b88ecd496833c1c42b6de04e6c2f237dca Mon Sep 17 00:00:00 2001 From: Urko Nalda Date: Mon, 30 Nov 2015 13:21:01 +0100 Subject: [PATCH] meta-digi-dey: modify where gatttool is installed from in bluez5 Add BLUEZ5_NOINST_TOOLS to bluetooth packagegroup. Gatttool is added to BLUEZ5_NOINST_TOOLS in bluez5.inc so it is not necessary to add gatttooll to do_install_append function. Signed-off-by: Urko Nalda --- meta-digi-dey/recipes-connectivity/bluez/bluez5_%.bbappend | 4 +--- .../packagegroups/packagegroup-dey-bluetooth.bb | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/meta-digi-dey/recipes-connectivity/bluez/bluez5_%.bbappend b/meta-digi-dey/recipes-connectivity/bluez/bluez5_%.bbappend index 3e8f2079e..abb8f84be 100644 --- a/meta-digi-dey/recipes-connectivity/bluez/bluez5_%.bbappend +++ b/meta-digi-dey/recipes-connectivity/bluez/bluez5_%.bbappend @@ -8,10 +8,8 @@ inherit update-rc.d PACKAGECONFIG_append = " experimental" do_install_append() { - install -d ${D}${sbindir} ${D}${sysconfdir}/init.d/ + install -d ${D}${sysconfdir}/init.d/ install -m 0755 ${WORKDIR}/bluez-init ${D}${sysconfdir}/init.d/bluez - # gatttool is useful for BLE work but not installed by default - install -m 0755 attrib/gatttool ${D}${sbindir}/gatttool } INITSCRIPT_NAME = "bluez" diff --git a/meta-digi-dey/recipes-connectivity/packagegroups/packagegroup-dey-bluetooth.bb b/meta-digi-dey/recipes-connectivity/packagegroups/packagegroup-dey-bluetooth.bb index f32ca34bb..67b7436d3 100644 --- a/meta-digi-dey/recipes-connectivity/packagegroups/packagegroup-dey-bluetooth.bb +++ b/meta-digi-dey/recipes-connectivity/packagegroups/packagegroup-dey-bluetooth.bb @@ -13,4 +13,5 @@ RDEPENDS_${PN} = " \ ${BLUEZ} \ ${BLUEZ}-testtools \ ${@base_contains("MACHINE_FEATURES", "bluetooth", "libasound-module-bluez", "", d)} \ + ${@base_contains("BLUEZ", "bluez5", "bluez5-noinst-tools", "", d)} \ "