Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] Bluez5: Add gatttool to new package bluez5-tools
@ 2014-11-04  5:04 Qian Lei
  2014-11-07 12:42 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Qian Lei @ 2014-11-04  5:04 UTC (permalink / raw)
  To: openembedded-core

Gatttool in bluez5 is not installed into system any more. But in some cases
we do need this tool to debug some thing. So I add a new package named bluez5-tools
which includes some programs we may need but not installed.

Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
---
 meta/recipes-connectivity/bluez5/bluez5.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index c3dd946..6c05f07 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -42,11 +42,12 @@ do_install_append() {
 	    install -m 0644 ${S}/profiles/input/input.conf ${D}/${sysconfdir}/bluetooth/
 	fi
 	# at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT
+        install -m 0755 ${S}/attrib/gatttool ${D}/${bindir}/
 	install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/
 }
 
 ALLOW_EMPTY_libasound-module-bluez = "1"
-PACKAGES =+ "libasound-module-bluez ${PN}-testtools ${PN}-obex"
+PACKAGES =+ "libasound-module-bluez ${PN}-testtools ${PN}-obex ${PN}-tools"
 
 FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa"
 FILES_${PN} += "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${nonarch_base_libdir}/udev/ ${systemd_unitdir}/ ${datadir}/dbus-1"
@@ -63,6 +64,8 @@ SYSTEMD_SERVICE_${PN}-obex = "obex.service"
 
 FILES_${PN}-testtools = "${libdir}/bluez/test/*"
 
+FILES_${PN}-tools = "${bindir}/gatttool"
+
 FILES_${PN}-dbg += "\
   ${libdir}/${BPN}/bluetooth/.debug \
   ${libdir}/bluetooth/plugins/.debug \
-- 
1.8.4.2



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-10 12:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-04  5:04 [PATCH] Bluez5: Add gatttool to new package bluez5-tools Qian Lei
2014-11-07 12:42 ` Burton, Ross
2014-11-10  5:52   ` Qian Lei
2014-11-10 10:45     ` Qian Lei
2014-11-10 12:16   ` Peter A. Bigot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox