From df1876d6633971ee84779e9c5a791fce242c9bf2 Mon Sep 17 00:00:00 2001 From: Isaac Hermida Date: Wed, 24 Jan 2018 10:14:37 +0100 Subject: [PATCH] bluez5.46: remove testing flag when starting the service In bluez5.41 we needed to specify the "--experimental" flag when starting the bluetooth service in order to use some specific features (see d434043447a93). In bluez5.46 (in fact starting in bluez5.44) code was reorganized and now that compilation option is called "--testing" but does not exist as flag, because some of the "experimental" features has been mode to standard features, so there is not need of indicating any extra flag when starting the service. https://jira.digi.com/browse/DEL-5624 Signed-off-by: Isaac Hermida --- .../recipes-connectivity/bluez/bluez5_5.46.bbappend | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meta-digi-dey/recipes-connectivity/bluez/bluez5_5.46.bbappend b/meta-digi-dey/recipes-connectivity/bluez/bluez5_5.46.bbappend index 03a6d6d7c..451b115ab 100644 --- a/meta-digi-dey/recipes-connectivity/bluez/bluez5_5.46.bbappend +++ b/meta-digi-dey/recipes-connectivity/bluez/bluez5_5.46.bbappend @@ -1,4 +1,4 @@ -# Copyright (C) 2015-2017 Digi International. +# Copyright (C) 2015-2018 Digi International. FILESEXTRAPATHS_prepend := "${THISDIR}/${BP}:" @@ -28,9 +28,6 @@ do_install_append() { install -d ${D}${sysconfdir}/init.d/ install -m 0755 ${WORKDIR}/bluetooth-init ${D}${sysconfdir}/init.d/bluetooth-init install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/bluetooth/ - if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'testing', 'testing', '', d)}" ]; then - sed -i '/^SSD_OPTIONS/a SSD_OPTIONS="${SSD_OPTIONS} --testing"' ${D}${INIT_D_DIR}/bluetooth - fi } PACKAGES =+ "${PN}-init"