profile-core: agl-service-network: add agl-service-network-tools package 11/15911/2
authorMatt Ranostay <matt.ranostay@konsulko.com>
Wed, 1 Aug 2018 18:48:54 +0000 (11:48 -0700)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 3 Aug 2018 16:14:06 +0000 (16:14 +0000)
Add debug utilities package to allow testing of agl-network-service functionality

Change-Id: I0adaf40a5888a34df9dd6780ddd0ea693d730c93
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
meta-agl-profile-core/recipes-apis/agl-service-network/agl-service-network_git.bb

index 8d66edf..4536a2b 100644 (file)
@@ -14,4 +14,12 @@ S  = "${WORKDIR}/git"
 
 DEPENDS = "glib-2.0 json-c"
 
+FILES_${PN}-tools = "${sbindir}/agl-service-network-ctl"
+PACKAGES = "${PN}-tools ${PN}-dbg ${PN}"
+
+do_install_append() {
+    install -d ${D}${sbindir}
+    install -m 755 ${B}/test/agl-service-network-ctl ${D}${sbindir}
+}
+
 inherit cmake aglwgt pkgconfig