From patchwork Wed Feb 13 15:52:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: connman: Have connman package systemd service. Date: Wed, 13 Feb 2013 15:52:18 -0000 From: Florin Sarbu X-Patchwork-Id: 44593 Message-Id: <1360770738-26127-1-git-send-email-florin.sarbu@windriver.com> To: 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 --- 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"