[OE-core] [PATCH] connman: Have connman package systemd service.

Florin Sarbu florin.sarbu at windriver.com
Wed Feb 13 15:52:18 UTC 2013


connman.inc was missing the SYSTEMD_PACKAGES variable. Declared
${PN}-systemd as the package containing the systemd service
file and also added this package to PACKAGES variable.

Signed-off-by: Florin Sarbu <florin.sarbu at windriver.com>
---
 meta/recipes-connectivity/connman/connman.inc |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index b61e2af..8c4ee89 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -20,7 +20,7 @@ DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
             ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
             "
 
-INC_PR = "r17"
+INC_PR = "r18"
 
 TIST = "--enable-tist"
 TIST_powerpc = ""
@@ -46,6 +46,7 @@ EXTRA_OECONF += "\
 INITSCRIPT_NAME = "connman"
 INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."
 
+SYSTEMD_PACKAGES = "${PN}-systemd"
 SYSTEMD_SERVICE_${PN} = "connman.service"
 
 # IMPORTANT: because xuser is shared with rootless X, please make sure the
@@ -116,7 +117,7 @@ python populate_packages_prepend() {
             d.setVar("RDEPENDS_%s" % package, " ".join(rdepends))
 }
 
-PACKAGES =+ "${PN}-tools ${PN}-tests"
+PACKAGES =+ "${PN}-tools ${PN}-tests ${PN}-systemd"
 
 FILES_${PN}-tools = "${bindir}/wispr"
 
-- 
1.7.10.4





More information about the Openembedded-core mailing list