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 d434043447).
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 <isaac.hermida@digi.com>
This commit is contained in:
Isaac Hermida 2018-01-24 10:14:37 +01:00
parent b9449aa4d6
commit df1876d663
1 changed files with 1 additions and 4 deletions

View File

@ -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"