Files
meta-openembedded/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bbappend
T
Khem Raj 313f0ae259 meta-systemd: Append ${PN} to SYSTEMD_SERVICE
When using systemd class from OE-Core we also need
to install the units explicitly.

systemd packages ending with -systemd are consumed
and now provided by package proper.

MJ: fix RPROVIDES_PN = PN-systemd in entrance
MJ: add RPROVIDES for ntp*-systemd in ntp
MJ: the same for wpa-supplicant

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-12 18:49:55 +02:00

20 lines
421 B
Plaintext

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
PRINC := "${@int(PRINC) + 2}"
inherit systemd
SRC_URI += "file://cloud9.service"
inherit systemd
NATIVE_SYSTEMD_SUPPORT = "1"
SYSTEMD_PACKAGES = "${PN}"
RPROVIDES_${PN} += "${PN}-systemd"
SYSTEMD_SERVICE_${PN} = "cloud9.service"
do_install_append() {
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/cloud9.service ${D}${systemd_unitdir}/system
}