mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-16 18:40:03 +00:00
313f0ae259
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>
20 lines
421 B
Plaintext
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
|
|
}
|
|
|