connman: remove unneeded systemd code / use ${systemd_unitdir}
authorAndreas Müller <schnitzeltony@googlemail.com>
Thu, 16 Feb 2012 02:03:02 +0000 (02:03 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:18:45 +0000 (08:18 -0800)
(From meta-openembedded rev: 7a23c18646ef701ecd79ddf460c16fd140a66aef)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-connectivity/connman/connman_0.78.bbappend

index d6f756c..f1b05aa 100644 (file)
@@ -1,13 +1,8 @@
 inherit systemd
 
-EXTRA_OECONF += "--with-systemdunitdir=${base_libdir}/systemd/system/"
+EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/"
 
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
 
 SYSTEMD_PACKAGES = "${PN}-systemd"
 SYSTEMD_SERVICE_${PN}-systemd = "connman.service"
-
-# systemd files
-PACKAGES =+ "${PN}-systemd"
-FILES_${PN}-systemd += "${base_libdir}/systemd"
-RDEPENDS_${PN}-systemd += "${PN}"