connman: remove unneeded systemd code / use ${systemd_unitdir}

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Andreas Müller 2012-02-16 02:03:02 +00:00 committed by Koen Kooi
parent 114cefffb9
commit 7a23c18646

View 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}"