Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
163
sources/poky/meta/recipes-connectivity/bluez5/bluez5.inc
Normal file
163
sources/poky/meta/recipes-connectivity/bluez5/bluez5.inc
Normal file
@@ -0,0 +1,163 @@
|
||||
SUMMARY = "Linux Bluetooth Stack Userland V5"
|
||||
DESCRIPTION = "Linux Bluetooth stack V5 userland components. These include a system configurations, daemons, tools and system libraries."
|
||||
HOMEPAGE = "http://www.bluez.org"
|
||||
SECTION = "libs"
|
||||
LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
|
||||
file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \
|
||||
file://src/main.c;beginline=1;endline=24;md5=0ad83ca0dc37ab08af448777c581e7ac"
|
||||
DEPENDS = "dbus glib-2.0"
|
||||
RDEPENDS:${PN} += "dbus"
|
||||
PROVIDES += "bluez-hcidump"
|
||||
RPROVIDES:${PN} += "bluez-hcidump"
|
||||
|
||||
RCONFLICTS:${PN} = "bluez4"
|
||||
|
||||
PACKAGECONFIG ??= "obex-profiles \
|
||||
readline \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
||||
a2dp-profiles \
|
||||
avrcp-profiles \
|
||||
mcp-profiles \
|
||||
network-profiles \
|
||||
hid-profiles \
|
||||
hog-profiles \
|
||||
tools \
|
||||
deprecated \
|
||||
udev \
|
||||
"
|
||||
PACKAGECONFIG[obex-profiles] = "--enable-obex,--disable-obex,libical"
|
||||
PACKAGECONFIG[readline] = "--enable-client,--disable-client,readline,"
|
||||
PACKAGECONFIG[testing] = "--enable-testing,--disable-testing"
|
||||
PACKAGECONFIG[midi] = "--enable-midi,--disable-midi,alsa-lib"
|
||||
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd"
|
||||
PACKAGECONFIG[cups] = "--enable-cups,--disable-cups,,cups"
|
||||
PACKAGECONFIG[nfc] = "--enable-nfc,--disable-nfc"
|
||||
PACKAGECONFIG[sap-profiles] = "--enable-sap,--disable-sap"
|
||||
PACKAGECONFIG[a2dp-profiles] = "--enable-a2dp,--disable-a2dp"
|
||||
PACKAGECONFIG[avrcp-profiles] = "--enable-avrcp,--disable-avrcp"
|
||||
PACKAGECONFIG[mcp-profiles] = "--enable-mcp,--disable-mcp"
|
||||
PACKAGECONFIG[network-profiles] = "--enable-network,--disable-network"
|
||||
PACKAGECONFIG[hid-profiles] = "--enable-hid,--disable-hid"
|
||||
PACKAGECONFIG[hog-profiles] = "--enable-hog,--disable-hog"
|
||||
PACKAGECONFIG[health-profiles] = "--enable-health,--disable-health"
|
||||
PACKAGECONFIG[sixaxis] = "--enable-sixaxis,--disable-sixaxis"
|
||||
PACKAGECONFIG[tools] = "--enable-tools,--disable-tools"
|
||||
PACKAGECONFIG[threads] = "--enable-threads,--disable-threads"
|
||||
PACKAGECONFIG[deprecated] = "--enable-deprecated,--disable-deprecated"
|
||||
PACKAGECONFIG[mesh] = "--enable-mesh --enable-external-ell,--disable-mesh, json-c ell"
|
||||
PACKAGECONFIG[btpclient] = "--enable-btpclient --enable-external-ell,--disable-btpclient, ell"
|
||||
PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev"
|
||||
PACKAGECONFIG[manpages] = "--enable-manpages,--disable-manpages,python3-docutils-native"
|
||||
|
||||
SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
|
||||
file://init \
|
||||
file://run-ptest \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'file://0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch', d)} \
|
||||
file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
|
||||
file://0001-test-gatt-Fix-hung-issue.patch \
|
||||
file://0001-adapter-Fix-up-address-type-when-loading-keys.patch \
|
||||
file://toolsbtmgmt-fix-index-option-for-non-interactive-mode.patch \
|
||||
"
|
||||
S = "${WORKDIR}/bluez-${PV}"
|
||||
|
||||
CVE_PRODUCT = "bluez"
|
||||
|
||||
inherit autotools pkgconfig systemd update-rc.d ptest gobject-introspection-data
|
||||
|
||||
EXTRA_OECONF = "\
|
||||
--enable-test \
|
||||
--enable-datafiles \
|
||||
--enable-library \
|
||||
--enable-pie \
|
||||
--without-zsh-completion-dir \
|
||||
"
|
||||
|
||||
CFLAGS += "-DFIRMWARE_DIR=\\"${nonarch_base_libdir}/firmware\\""
|
||||
|
||||
# bluez5 builds a large number of useful utilities but does not
|
||||
# install them. Specify which ones we want put into ${PN}-noinst-tools.
|
||||
NOINST_TOOLS_READLINE ??= ""
|
||||
NOINST_TOOLS_TESTING ??= ""
|
||||
NOINST_TOOLS_BT ??= ""
|
||||
NOINST_TOOLS = " \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'readline', '${NOINST_TOOLS_READLINE}', '', d)} \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'testing', '${NOINST_TOOLS_TESTING}', '', d)} \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'tools', '${NOINST_TOOLS_BT}', '', d)} \
|
||||
"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${INIT_D_DIR}
|
||||
install -m 0755 ${WORKDIR}/init ${D}${INIT_D_DIR}/bluetooth
|
||||
|
||||
install -d ${D}${sysconfdir}/bluetooth/
|
||||
if [ -f ${S}/profiles/network/network.conf ]; then
|
||||
install -m 0644 ${S}/profiles/network/network.conf ${D}/${sysconfdir}/bluetooth/
|
||||
fi
|
||||
if [ -f ${S}/profiles/input/input.conf ]; then
|
||||
install -m 0644 ${S}/profiles/input/input.conf ${D}/${sysconfdir}/bluetooth/
|
||||
fi
|
||||
|
||||
if [ -f ${D}/${sysconfdir}/init.d/bluetooth ]; then
|
||||
sed -i -e 's#@LIBEXECDIR@#${libexecdir}#g' ${D}/${sysconfdir}/init.d/bluetooth
|
||||
fi
|
||||
|
||||
# Install desired tools that upstream leaves in build area
|
||||
for f in ${NOINST_TOOLS} ; do
|
||||
install -m 755 ${B}/$f ${D}/${bindir}
|
||||
done
|
||||
|
||||
# Patch python tools to use Python 3; they should be source compatible, but
|
||||
# still refer to Python 2 in the shebang
|
||||
sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/bluez/test/*
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-testtools ${PN}-obex ${PN}-noinst-tools"
|
||||
|
||||
FILES:${PN} += " \
|
||||
${libdir}/bluetooth/plugins/*.so \
|
||||
${systemd_unitdir}/ ${datadir}/dbus-1 \
|
||||
${libdir}/cups \
|
||||
"
|
||||
FILES:${PN}-dev += " \
|
||||
${libdir}/bluetooth/plugins/*.la \
|
||||
"
|
||||
|
||||
FILES:${PN}-obex = "${libexecdir}/bluetooth/obexd \
|
||||
${exec_prefix}/lib/systemd/user/obex.service \
|
||||
${systemd_system_unitdir}/obex.service \
|
||||
${sysconfdir}/systemd/system/multi-user.target.wants/obex.service \
|
||||
${datadir}/dbus-1/services/org.bluez.obex.service \
|
||||
${sysconfdir}/dbus-1/system.d/obexd.conf \
|
||||
"
|
||||
SYSTEMD_SERVICE:${PN}-obex = "obex.service"
|
||||
|
||||
FILES:${PN}-testtools = "${libdir}/bluez/test/*"
|
||||
|
||||
def get_noinst_tools_paths (d, bb, tools):
|
||||
s = list()
|
||||
bindir = d.getVar("bindir")
|
||||
for bdp in tools.split():
|
||||
f = os.path.basename(bdp)
|
||||
s.append("%s/%s" % (bindir, f))
|
||||
return "\n".join(s)
|
||||
|
||||
FILES:${PN}-noinst-tools = "${@get_noinst_tools_paths(d, bb, d.getVar('NOINST_TOOLS'))}"
|
||||
|
||||
RDEPENDS:${PN}-testtools += "python3-core python3-dbus"
|
||||
RDEPENDS:${PN}-testtools += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'python3-pygobject', '', d)}"
|
||||
|
||||
SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'bluetooth.service', '', d)}"
|
||||
INITSCRIPT_PACKAGES = "${PN}"
|
||||
INITSCRIPT_NAME:${PN} = "bluetooth"
|
||||
|
||||
do_compile_ptest() {
|
||||
oe_runmake buildtests
|
||||
}
|
||||
|
||||
do_install_ptest() {
|
||||
cp -r ${B}/unit/ ${D}${PTEST_PATH}
|
||||
rm -f ${D}${PTEST_PATH}/unit/*.o
|
||||
}
|
||||
|
||||
RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-gconv-utf-16"
|
||||
@@ -0,0 +1,56 @@
|
||||
From f74eb97c9fb3c0ee2895742e773ac6a3c41c999c Mon Sep 17 00:00:00 2001
|
||||
From: Giovanni Campagna <gcampagna-cNUdlRotFMnNLxjTenLetw@public.gmane.org>
|
||||
Date: Sat, 12 Oct 2013 17:45:25 +0200
|
||||
Subject: [PATCH] Allow using obexd without systemd in the user session
|
||||
|
||||
Not all sessions run systemd --user (actually, the majority
|
||||
doesn't), so the dbus daemon must be able to spawn obexd
|
||||
directly, and to do so it needs the full path of the daemon.
|
||||
|
||||
Upstream-Status: Denied
|
||||
|
||||
Not accepted by upstream maintainer for being a distro specific
|
||||
configuration. See thread:
|
||||
|
||||
http://thread.gmane.org/gmane.linux.bluez.kernel/38725/focus=38843
|
||||
|
||||
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
|
||||
|
||||
---
|
||||
Makefile.obexd | 4 ++--
|
||||
.../src/{org.bluez.obex.service => org.bluez.obex.service.in} | 2 +-
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
rename obexd/src/{org.bluez.obex.service => org.bluez.obex.service.in} (76%)
|
||||
|
||||
diff --git a/Makefile.obexd b/Makefile.obexd
|
||||
index de59d29..73004a3 100644
|
||||
--- a/Makefile.obexd
|
||||
+++ b/Makefile.obexd
|
||||
@@ -1,12 +1,12 @@
|
||||
if SYSTEMD
|
||||
systemduserunitdir = $(SYSTEMD_USERUNITDIR)
|
||||
systemduserunit_DATA = obexd/src/obex.service
|
||||
+endif
|
||||
|
||||
dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
|
||||
dbussessionbus_DATA = obexd/src/org.bluez.obex.service
|
||||
-endif
|
||||
|
||||
-EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
|
||||
+EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
|
||||
|
||||
if OBEX
|
||||
|
||||
diff --git a/obexd/src/org.bluez.obex.service b/obexd/src/org.bluez.obex.service.in
|
||||
similarity index 76%
|
||||
rename from obexd/src/org.bluez.obex.service
|
||||
rename to obexd/src/org.bluez.obex.service.in
|
||||
index a538088..9c815f2 100644
|
||||
--- a/obexd/src/org.bluez.obex.service
|
||||
+++ b/obexd/src/org.bluez.obex.service.in
|
||||
@@ -1,4 +1,4 @@
|
||||
[D-BUS Service]
|
||||
Name=org.bluez.obex
|
||||
-Exec=/bin/false
|
||||
+Exec=@libexecdir@/obexd
|
||||
SystemdService=dbus-org.bluez.obex.service
|
||||
@@ -0,0 +1,52 @@
|
||||
From 366a8c522b648f47147de4852c5c030d69b916b3 Mon Sep 17 00:00:00 2001
|
||||
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
|
||||
Date: Wed, 28 Aug 2024 11:30:16 -0400
|
||||
Subject: [PATCH] adapter: Fix up address type when loading keys
|
||||
|
||||
Due to kernel change 59b047bc9808
|
||||
("Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE")
|
||||
some keys maybe store using the wrong/invalid address type as per MGMT
|
||||
API, so this attempts to fix them up.
|
||||
|
||||
Fixes: https://github.com/bluez/bluez/issues/875
|
||||
Upstream-Status: Backport [366a8c522b648f47147de4852c5c030d69b916b3]
|
||||
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
||||
---
|
||||
src/adapter.c | 20 ++++++++++++++++++--
|
||||
1 file changed, 18 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/adapter.c b/src/adapter.c
|
||||
index 245de4456868..9f44bdefa5f4 100644
|
||||
--- a/src/adapter.c
|
||||
+++ b/src/adapter.c
|
||||
@@ -5017,12 +5017,28 @@ static void load_devices(struct btd_adapter *adapter)
|
||||
goto free;
|
||||
}
|
||||
|
||||
- if (key_info)
|
||||
+ if (key_info) {
|
||||
+ /* Fix up address type if it was stored with the wrong
|
||||
+ * address type since Load Link Keys are only meant to
|
||||
+ * work with BR/EDR addresses as per MGMT documentation.
|
||||
+ */
|
||||
+ if (key_info->bdaddr_type != BDADDR_BREDR)
|
||||
+ key_info->bdaddr_type = BDADDR_BREDR;
|
||||
+
|
||||
adapter->load_keys = g_slist_append(adapter->load_keys,
|
||||
key_info);
|
||||
+ }
|
||||
+
|
||||
+ if (ltk_info) {
|
||||
+ /* Fix up address type if it was stored with the wrong
|
||||
+ * address type since Load Long Term Keys are only meant
|
||||
+ * to work with LE addresses as per MGMT documentation.
|
||||
+ */
|
||||
+ if (ltk_info->bdaddr_type == BDADDR_BREDR)
|
||||
+ ltk_info->bdaddr_type = BDADDR_LE_PUBLIC;
|
||||
|
||||
- if (ltk_info)
|
||||
ltks = g_slist_append(ltks, ltk_info);
|
||||
+ }
|
||||
|
||||
if (peripheral_ltk_info)
|
||||
ltks = g_slist_append(ltks, peripheral_ltk_info);
|
||||
@@ -0,0 +1,41 @@
|
||||
From fb583a57f9f4ab956a09e9bb96d89aa13553bf21 Mon Sep 17 00:00:00 2001
|
||||
From: Mingli Yu <Mingli.Yu@windriver.com>
|
||||
Date: Fri, 24 Aug 2018 12:04:03 +0800
|
||||
Subject: [PATCH] test-gatt: Fix hung issue
|
||||
|
||||
The below test hangs infinitely
|
||||
$ unit/test-gatt -p /robustness/unkown-request -d
|
||||
/robustness/unkown-request - init
|
||||
/robustness/unkown-request - setup
|
||||
/robustness/unkown-request - setup complete
|
||||
/robustness/unkown-request - run
|
||||
GATT: < 02 17 00 ...
|
||||
bt_gatt_server:MTU exchange complete, with MTU: 23
|
||||
GATT: > 03 00 02 ...
|
||||
PDU: = 03 00 02 ...
|
||||
GATT: < bf 00
|
||||
|
||||
Actually, the /robustness/unkown-request test does
|
||||
no action.
|
||||
|
||||
Upstream-Status: Submitted [https://marc.info/?l=linux-bluetooth&m=153508881804635&w=2]
|
||||
|
||||
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
|
||||
|
||||
---
|
||||
unit/test-gatt.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/unit/test-gatt.c b/unit/test-gatt.c
|
||||
index 5e06d4e..4864d36 100644
|
||||
--- a/unit/test-gatt.c
|
||||
+++ b/unit/test-gatt.c
|
||||
@@ -4546,7 +4546,7 @@ int main(int argc, char *argv[])
|
||||
test_server, service_db_1, NULL,
|
||||
raw_pdu(0x03, 0x00, 0x02),
|
||||
raw_pdu(0xbf, 0x00),
|
||||
- raw_pdu(0x01, 0xbf, 0x00, 0x00, 0x06));
|
||||
+ raw_pdu());
|
||||
|
||||
define_test_server("/robustness/unkown-command",
|
||||
test_server, service_db_1, NULL,
|
||||
@@ -0,0 +1,26 @@
|
||||
From 738e73b386352fd90f1f26cc1ee75427cf4dc23b Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Fri, 1 Apr 2016 17:07:34 +0300
|
||||
Subject: [PATCH] tests: add a target for building tests without running them
|
||||
|
||||
Upstream-Status: Inappropriate [oe specific]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
|
||||
---
|
||||
Makefile.am | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index e738eb3..dab17dd 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -710,6 +710,9 @@ endif
|
||||
TESTS = $(unit_tests)
|
||||
AM_TESTS_ENVIRONMENT = MALLOC_CHECK_=3 MALLOC_PERTURB_=69
|
||||
|
||||
+# This allows building tests without running them
|
||||
+buildtests: $(TESTS)
|
||||
+
|
||||
if DBUS_RUN_SESSION
|
||||
AM_TESTS_ENVIRONMENT += dbus-run-session --
|
||||
endif
|
||||
61
sources/poky/meta/recipes-connectivity/bluez5/bluez5/init
Normal file
61
sources/poky/meta/recipes-connectivity/bluez5/bluez5/init
Normal file
@@ -0,0 +1,61 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Source function library
|
||||
. /etc/init.d/functions
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
DESC=bluetooth
|
||||
|
||||
DAEMON=@LIBEXECDIR@/bluetooth/bluetoothd
|
||||
|
||||
# If you want to be ignore error of "org.freedesktop.hostname1",
|
||||
# please enable NOPLUGIN_OPTION.
|
||||
# NOPLUGIN_OPTION="--noplugin=hostname"
|
||||
NOPLUGIN_OPTION=""
|
||||
SSD_OPTIONS="--oknodo --quiet --exec $DAEMON -- $NOPLUGIN_OPTION"
|
||||
|
||||
test -f $DAEMON || exit 0
|
||||
|
||||
# FIXME: any of the sourced files may fail if/with syntax errors
|
||||
test -f /etc/default/bluetooth && . /etc/default/bluetooth
|
||||
test -f /etc/default/rcS && . /etc/default/rcS
|
||||
|
||||
set -e
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
echo -n "Starting $DESC: "
|
||||
if test "$BLUETOOTH_ENABLED" = 0; then
|
||||
echo "disabled (see /etc/default/bluetooth)."
|
||||
exit 0
|
||||
fi
|
||||
start-stop-daemon --start --background $SSD_OPTIONS
|
||||
echo "${DAEMON##*/}."
|
||||
;;
|
||||
stop)
|
||||
echo -n "Stopping $DESC: "
|
||||
if test "$BLUETOOTH_ENABLED" = 0; then
|
||||
echo "disabled (see /etc/default/bluetooth)."
|
||||
exit 0
|
||||
fi
|
||||
start-stop-daemon --stop $SSD_OPTIONS
|
||||
echo "${DAEMON##*/}."
|
||||
;;
|
||||
restart|force-reload)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
status)
|
||||
status ${DAEMON} || exit $?
|
||||
;;
|
||||
*)
|
||||
N=/etc/init.d/bluetooth
|
||||
echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# vim:noet
|
||||
@@ -0,0 +1,31 @@
|
||||
#! /bin/sh
|
||||
|
||||
cd unit
|
||||
|
||||
failed=0
|
||||
all=0
|
||||
|
||||
for f in test-*; do
|
||||
"./$f" -q
|
||||
case "$?" in
|
||||
0)
|
||||
echo "PASS: $f"
|
||||
all=$((all + 1))
|
||||
;;
|
||||
77)
|
||||
echo "SKIP: $f"
|
||||
;;
|
||||
*)
|
||||
echo "FAIL: $f"
|
||||
failed=$((failed + 1))
|
||||
all=$((all + 1))
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ "$failed" -eq 0 ] ; then
|
||||
echo "All $all tests passed"
|
||||
else
|
||||
echo "$failed of $all tests failed"
|
||||
fi
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
From f00d5546c9e989dd68ce0de0190cd0e043b0f1f5 Mon Sep 17 00:00:00 2001
|
||||
From: Arjan Opmeer <arjan.opmeer@gmail.com>
|
||||
Date: Tue, 9 Jul 2024 13:55:41 +0200
|
||||
Subject: [PATCH] tools/btmgmt: Fix --index option for non-interactive mode
|
||||
|
||||
In non-interactive mode the --index option does not work because the
|
||||
call to mgmt_set_index() is made after bt_shell_attach().
|
||||
|
||||
Fixes: https://github.com/bluez/bluez/issues/893
|
||||
|
||||
Upstream-Status: Backport [https://github.com/bluez/bluez/commit/f00d5546c9e989dd68ce0de0190cd0e043b0f1f5]
|
||||
---
|
||||
tools/btmgmt.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tools/btmgmt.c b/tools/btmgmt.c
|
||||
index 9b7f851bd8..436c2bb21f 100644
|
||||
--- a/tools/btmgmt.c
|
||||
+++ b/tools/btmgmt.c
|
||||
@@ -51,8 +51,8 @@ int main(int argc, char *argv[])
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
- bt_shell_attach(fileno(stdin));
|
||||
mgmt_set_index(index_option);
|
||||
+ bt_shell_attach(fileno(stdin));
|
||||
status = bt_shell_run();
|
||||
|
||||
mgmt_remove_submenu();
|
||||
75
sources/poky/meta/recipes-connectivity/bluez5/bluez5_5.72.bb
Normal file
75
sources/poky/meta/recipes-connectivity/bluez5/bluez5_5.72.bb
Normal file
@@ -0,0 +1,75 @@
|
||||
require bluez5.inc
|
||||
|
||||
SRC_URI[sha256sum] = "499d7fa345a996c1bb650f5c6749e1d929111fa6ece0be0e98687fee6124536e"
|
||||
|
||||
CVE_STATUS[CVE-2020-24490] = "cpe-incorrect: This issue has kernel fixes rather than bluez fixes"
|
||||
|
||||
# noinst programs in Makefile.tools that are conditional on READLINE
|
||||
# support
|
||||
NOINST_TOOLS_READLINE ?= " \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'deprecated', 'attrib/gatttool', '', d)} \
|
||||
tools/obex-client-tool \
|
||||
tools/obex-server-tool \
|
||||
tools/bluetooth-player \
|
||||
tools/obexctl \
|
||||
tools/btmgmt \
|
||||
"
|
||||
|
||||
# noinst programs in Makefile.tools that are conditional on TESTING
|
||||
# support
|
||||
NOINST_TOOLS_TESTING ?= " \
|
||||
emulator/btvirt \
|
||||
emulator/b1ee \
|
||||
emulator/hfp \
|
||||
peripheral/btsensor \
|
||||
tools/3dsp \
|
||||
tools/mgmt-tester \
|
||||
tools/gap-tester \
|
||||
tools/l2cap-tester \
|
||||
tools/sco-tester \
|
||||
tools/smp-tester \
|
||||
tools/hci-tester \
|
||||
tools/rfcomm-tester \
|
||||
tools/bnep-tester \
|
||||
tools/userchan-tester \
|
||||
tools/iso-tester \
|
||||
tools/mesh-tester \
|
||||
tools/ioctl-tester \
|
||||
"
|
||||
|
||||
# noinst programs in Makefile.tools that are conditional on TOOLS
|
||||
# support
|
||||
NOINST_TOOLS_BT ?= " \
|
||||
tools/bdaddr \
|
||||
tools/avinfo \
|
||||
tools/avtest \
|
||||
tools/scotest \
|
||||
tools/amptest \
|
||||
tools/hwdb \
|
||||
tools/hcieventmask \
|
||||
tools/hcisecfilter \
|
||||
tools/btinfo \
|
||||
tools/btconfig \
|
||||
tools/btsnoop \
|
||||
tools/btproxy \
|
||||
tools/btiotest \
|
||||
tools/bneptest \
|
||||
tools/mcaptest \
|
||||
tools/cltest \
|
||||
tools/oobtest \
|
||||
tools/advtest \
|
||||
tools/seq2bseq \
|
||||
tools/nokfw \
|
||||
tools/rtlfw \
|
||||
tools/bcmfw \
|
||||
tools/create-image \
|
||||
tools/eddystone \
|
||||
tools/ibeacon \
|
||||
tools/btgatt-client \
|
||||
tools/btgatt-server \
|
||||
tools/test-runner \
|
||||
tools/check-selftest \
|
||||
tools/gatt-service \
|
||||
profiles/iap/iapd \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'btpclient', 'tools/btpclient tools/btpclientctl', '', d)} \
|
||||
"
|
||||
Reference in New Issue
Block a user